johnmccutchan@google.com
727d29d6b6
Refactor VM service IDs:
...
- IDs are strings which can be concatenated together like paths.
- Isolate ID is now "/isolates/XXX"
- Function, field, class, library, and script IDs are now stable.
- Introduce <type-ref> tags.
R=turnidge@google.com
Review URL: https://codereview.chromium.org//98253009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31358 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 22:35:55 +00:00
turnidge@google.com
383468782e
Keep track of current "pause" event in the debugger.
...
This will allow us (later) to make nice descriptions of the state of
an isolate, e.g. "isolate 7112 is paused due to breakpoint 2" or
"isolate 7112 is paused due to interrupt" or "isolate 7112 is
running".
Use a new Pause() function to call the event handler during a pause.
It does some shared checking, setup, teardown.
Minor change in isolate interrupt handling - before we were not
setting 'in_event_handler_' in this case. Now we set 'pause_event_'
here, which will guard against recursive pauses in this case.
Reviewer: not sure what I think about all the names I used here.
"pause_event_" is very similar to PausedEvent but means something
different, as it includes pauses, interrupts, and (maybe) exceptions.
Dunno.
R=hausner@google.com
Review URL: https://codereview.chromium.org//118603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31356 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 22:30:23 +00:00
zra@google.com
6c84dd1c0f
Updates build scripts for updated android_tools.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//120283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31355 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 22:23:49 +00:00
srdjan@google.com
cd92319223
Optimize string length one comparisons by comparing char codes only. Implemented for one byte strings only at the moment. Will add other string types/mixed compares later.
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org//105143011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31347 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 20:11:38 +00:00
kevmoo@google.com
d31141e045
pkg/polymer: remove css_lib dependency
...
Subsumes https://codereview.chromium.org/63693002/
R=sigmund@google.com
Review URL: https://codereview.chromium.org//103783005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31346 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 19:47:33 +00:00
asiva@google.com
1f9f8ecf7a
- Setup infrastructure to white list some native methods as not requiring
...
auto setup of Dart API scopes
- List some functions in the list to check out the infrastructure. Performance
gains from listing these:
firstChild 222.33 to 309.6903096903097
lastChild 217.56 to 306.0
nextSibling 363.00 to 514.0
previousSibling 357.64 to 506.0
nextSiblingDynamic 348.01 to 511.0
childNodes 309.38 to 444.5554445554446
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//119543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31342 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 19:02:04 +00:00
zra@google.com
3508d336dd
Simplifies standalone VM Android build.
...
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.
gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.
To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.
This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.
R=iposva@google.com
Review URL: https://codereview.chromium.org//105223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
lrn@google.com
29e92ed8d5
Update expectations - stream iterator test uses a timer, breaks on d8.
...
Review URL: https://codereview.chromium.org//107503006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31337 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 14:29:59 +00:00
regis@google.com
3bdeaf9813
Add missing ResolveType call (fix issue 15738).
...
Remove unused parameter from ResolveType.
Review URL: https://codereview.chromium.org//113163008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31336 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 14:26:53 +00:00
ahe@google.com
3fe58689eb
Fix bug in bound_closure_test.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//119933002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31335 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 13:26:47 +00:00
johnniwinther@google.com
f8ad3f2a43
Update dart2dart status.
...
BUG=
Review URL: https://codereview.chromium.org//112373004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31334 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 12:56:05 +00:00
johnniwinther@google.com
b28b79eb72
Add substitutions even when type arguments are fixed.
...
BUG=http://dartbug.com/14145
R=karlklose@google.com
Review URL: https://codereview.chromium.org//77993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31333 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 12:29:45 +00:00
fschneider@google.com
e994d8b697
Revert r31326.
...
TBR=johnmccutchan@google.com ,
Review URL: https://codereview.chromium.org//118133004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31332 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 12:21:09 +00:00
ajohnsen@google.com
3bc42be527
Block other signals while handling a signal.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//118713003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31331 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 12:12:17 +00:00
zarah@google.com
caac86b4cc
Revert "Support type argument substitution on unnamed mixin applications."
...
This reverts commit r31319.
Review URL: https://codereview.chromium.org//100413007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31330 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 11:47:44 +00:00
ajohnsen@google.com
969eaf8068
Fix watch move event when path is a not a file.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15458
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//110533008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31328 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 11:28:53 +00:00
johnniwinther@google.com
daa2057744
Handle typedefs in registerRequiredType.
...
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//118273004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31327 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 10:15:23 +00:00
fschneider@google.com
fe726e1971
Use parallel move resolver for optimized try-catch.
...
This CL has no change in functionality and is purely clean up and
refactoring. Instead of manually generating the moves at throwing
instructions in try-catch, construct a parallel move and use the resolver
to emit the native code. This eliminates a lot of duplicated code
from all platforms.
It will also allow to re-use stack space that is currently allocated
separately for each individual try-catch in a function.
I added a few more unrelated minor changes in various parts of the VM
* Simpilify guard code generation
* Resolve refactoring TODO in deoptimization
* Improve names
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org//119213002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31326 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 09:41:42 +00:00
regis@google.com
b5a2dea566
Convert InstantiatedTypeArguments to TypeArguments upon canonicalization.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//106793007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31325 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 09:20:55 +00:00
fschneider@google.com
21d0b251e0
Update double unboxing heuristic.
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org//119103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31324 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 09:18:40 +00:00
lrn@google.com
1b4478e73c
Add license to unmodifiable_collection pkg to be able to upload.
...
Review URL: https://codereview.chromium.org//110973004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31323 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 08:02:52 +00:00
lrn@google.com
30683bdc79
Fix typo in failure-branch of stream iterator test.
...
Also increment pkg/async version to fix broken first upload.
Review URL: https://codereview.chromium.org//94013005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31322 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:58:49 +00:00
ngeoffray@google.com
8eec1819c9
Re-apply: Trace static tear-off closures.
...
Review URL: https://codereview.chromium.org//110383008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31321 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:53:42 +00:00
karlklose@google.com
641c3bac27
Remove tracking of factories with type arguments.
...
Instead, calculate the necessary checks from rti-dependencies and classes that use their type variables in checks.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//118253004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31320 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:38:26 +00:00
zarah@google.com
4fb34cb3d4
Support type argument substitution on unnamed mixin applications.
...
R=ahe@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//78873007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31319 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:32:27 +00:00
lrn@google.com
1fa76c85b5
Fix bug in Duration.toString.
...
BUG= http://dartbug.com/15678
Review URL: https://codereview.chromium.org//119263002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31318 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:18:21 +00:00
lrn@google.com
d4be6ccd68
Update stream iterator doc and add test.
...
BUG= http://dartbug.com/15449
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//99463005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31317 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:14:37 +00:00
sra@google.com
09e8586914
Test for interceptor convention closurized methods
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//119683004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31316 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 02:44:37 +00:00
sigmund@google.com
21df38fb55
Fix printing of compact_vm_config when test status change
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//101753006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31315 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 02:12:48 +00:00
nweiz@google.com
4b2a6bf2d5
Implement _UnorderedEquals in terms of _UnorderedMatches in pkg/unittest.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//116273006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31314 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 02:05:07 +00:00
rnystrom@google.com
3db1f173be
Don't try to get dart2js inputs from barback for directories that aren't public.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15688
R=nweiz@google.com
Review URL: https://codereview.chromium.org//113143005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31313 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 01:42:15 +00:00
rnystrom@google.com
2362fed046
Tweak pub build/serve log output a bit.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15669
R=nweiz@google.com
Review URL: https://codereview.chromium.org//106023006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31312 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 01:40:36 +00:00
asiva@google.com
491035987f
Change Dart_GetNativeBooleanArgument to use class Ids and direct
...
pointer comparision of the singleton objects to determine value.
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//113763004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31311 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 00:15:13 +00:00
rnystrom@google.com
e36f1c69c1
Mark test flaky on Windows.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//103293009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31309 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 23:36:12 +00:00
jmesserly@google.com
de84d672c5
custom_element: bump pubspec version to publish fix
...
Review URL: https://codereview.chromium.org//102993015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31308 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 23:28:46 +00:00
sra@google.com
fbef6e99dd
Redo "Dummy receiver optimization"
...
Work around Issue 15720
R=floitsch@google.com
Review URL: https://codereview.chromium.org//102833009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31307 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 23:18:45 +00:00
brianwilkerson@google.com
4b4bf1cf08
Constant evaluation support. This fixes most of the open issues related to constants and makes it (theoretically) possible to fix the rest.
...
R=jwren@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//113143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31303 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 21:26:54 +00:00
alanknight@google.com
dfc3d8ce9d
Pub wishes serialization had a README and a LICENSE
...
BUG=
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//110853011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31302 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 21:12:30 +00:00
jmesserly@google.com
9b3f9ca37d
add test status entry for 15737
...
https://code.google.com/p/dart/issues/detail?id=15737
Review URL: https://codereview.chromium.org//119483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31300 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 21:05:26 +00:00
zra@google.com
d9430b7928
Marks Float32x4 sqrt test for simarm.
...
The test fails under more agressive optimization
due to precision requirements.
co19 issue 666.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//99883007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31299 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 20:56:32 +00:00
jmesserly@google.com
20b120eba2
Fix for dart2js mirrors caching with custom elements
...
Custom elements code is from https://github.com/dart-lang/CustomElements/pull/4
R=sigmund@google.com
Review URL: https://codereview.chromium.org//112613003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31296 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 19:55:57 +00:00
rnystrom@google.com
5d18e69340
Escape "\" in regex to unbreak Windows bot.
...
Review URL: https://codereview.chromium.org//110853007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31295 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 19:03:24 +00:00
alanknight@google.com
edf8f44dd0
Update serialization for the 1.0 changes to mirrors
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//118823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31293 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 18:48:08 +00:00
rnystrom@google.com
64508b5ed9
Issue 15037. Warn users if they have “assets” dir anywhere inside “web” dir ( http://dartbug.com/15037 ).
...
BUG=
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//110013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31292 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 18:43:05 +00:00
asiva@google.com
447f4e66d9
Fix build break (true is not defined on windows for C).
...
Review URL: https://codereview.chromium.org//108493003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31291 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 18:42:54 +00:00
asiva@google.com
3b1902e54a
Add auto scope setup parameter to the native resolvers in preparation for
...
https://codereview.chromium.org/117723002/
R=vsm@google.com
Review URL: https://codereview.chromium.org//113913010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31287 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:48:14 +00:00
asiva@google.com
a576fec3c0
Allow the native resolver to setup whether it needs the Dart API scope to
...
be setup automatically or not when a native function is invoked.
This would allow the embedder to treat some native functions as leaf
functions whose invocation can be very light.
R=hausner@google.com , zra@google.com
Review URL: https://codereview.chromium.org//117723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31286 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:47:56 +00:00
pquitslund@google.com
bda0d5f25c
Test fix in quest for build greenness [TBR].
...
Review URL: https://codereview.chromium.org//99583011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31284 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:21:28 +00:00
pquitslund@google.com
21730c7eb8
Test jig for data-driving dartfmt tests.
...
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//98693013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31283 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:02:50 +00:00
ngeoffray@google.com
5f56f8b344
Remove wrong assertion, and make sure we only change the type of constant lists.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//109883003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31279 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 16:18:15 +00:00