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
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
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
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
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
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
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
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
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
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
ajohnsen@google.com
38d0fad2c7
Signal handling, take 2.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//119093007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31276 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 15:07:48 +00:00
ajohnsen@google.com
f24f568571
Revert "Signal handling."
...
This reverts commit r31270.
BUG=
Review URL: https://codereview.chromium.org//105083009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31275 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 14:03:15 +00:00
ngeoffray@google.com
21f262a69d
Revert revision 31272, some unit tests fail.
...
Review URL: https://codereview.chromium.org//119183003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31273 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:53:43 +00:00
ngeoffray@google.com
e440eebdea
Trace static tear-off closures.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//112103007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31272 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:39:53 +00:00
lry@google.com
cb4f2d99a8
fix status file
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//119233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31271 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:38:05 +00:00
ajohnsen@google.com
e8d9794c70
Signal handling.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//108003009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31270 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:08:26 +00:00
kustermann@google.com
18a8f25608
Command class hieracy refactoring, environmentOverride extraction
...
R=ricow@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//118783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31269 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 13:01:46 +00:00
ngeoffray@google.com
00518ed8fe
Fix a bug in the type inferrer, where a getter call was not seen as a potential closure call.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//119123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31267 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 12:51:21 +00:00
ngeoffray@google.com
73010db294
double * int returns a double can be simplified to an int if both operands are constants. Therefore the optimization in the instruction simplified to narrow the type should not be done for numbers, or we would end up using an empty type.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//114613003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31266 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 12:43:54 +00:00
lry@google.com
6cf5aca53e
tests for inlining between IR and AST functions
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//108333007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31256 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 11:33:07 +00:00
ajohnsen@google.com
5e564f370d
Add getter for hasTerminal, terminalColumns and terminalLines on stdin.
...
BUG=https://code.google.com/p/dart/issues/detail?id=15557
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//102123010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31255 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 10:59:58 +00:00
ngeoffray@google.com
a4cf4f2334
Remove obsolete TODOs from tests.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org//100443005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31254 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 10:46:15 +00:00
sra@google.com
963e6d6af1
Revert "Dummy receiver optimization"
...
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//102833008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31251 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 06:11:05 +00:00
sra@google.com
a4966dada1
Dummy receiver optimization
...
When we replace an interceptor with the intercepted object (a 'self-interceptor')
m = getInterceptor(a);
m.method(a)
-->
a.method(a)
we can replace the receiver with a dummy value:
-->
a.method(0)
provided the method never accesses the explicit interceptor argument. This condition is satisfied for methods that are not mixed into native classes.
We create a DummyReceiverConstant to ensure the dummy receiver argument has the correct type.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//108553006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31250 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 03:55:27 +00:00
jwren@google.com
a5d70e7b95
Fix for 15028.
...
R=brianwilkerson@google.com , pquitslund@google.com
Review URL: https://codereview.chromium.org//114473004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31239 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 21:05:35 +00:00
turnidge@google.com
b640712e6b
Handle vmservice messages while at breakpoint.
...
Allow rudimentary inspection of breakpoints from vmservice.
R=hausner@google.com , johnmccutchan@google.com
Review URL: https://codereview.chromium.org//113513004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31233 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 17:45:17 +00:00
srdjan@google.com
761d4d04cd
Constant propagation in LoadIndexed when inputs are array/string and index constants.
...
R=fschneider@google.com , johnmccutchan@google.com
Review URL: https://codereview.chromium.org//102973007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31230 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 16:55:12 +00:00
ngeoffray@google.com
1f8f38f953
Make the analyzer happy.
...
Review URL: https://codereview.chromium.org//118313002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31228 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 15:31:41 +00:00
ngeoffray@google.com
777a6efc03
Short curcuit the inlining when code in the middle of an expression is aborting.
...
R=karlklose@google.com
Review URL: https://codereview.chromium.org//98643009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31226 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 15:18:17 +00:00
ajohnsen@google.com
5558bb0d1f
Fix most UDP issues on Mac OS
...
We still do not test getting SO_BROADCAST, as it (at least on my laptop)
returns false even if it has just been turned on.
Setting SO_REUSEADDR for datagram sockets also behaves differently
compared to Linux and Windows.
IPv6 multicast as I could not test it on my laptop.
R=ajohnsen@google.com
BUG=http://dartbug.com/1975
Review URL: https://codereview.chromium.org//117723003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31223 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 12:23:40 +00:00
sgjesse@google.com
6fe58b0f3e
Fix checked mode errors in InternetAddress test
...
R=ajohnsen@google.com
BUG=http://dartbug.com/15687
Review URL: https://codereview.chromium.org//107113007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31222 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 12:20:09 +00:00
sgjesse@google.com
85fdbfb773
Add argument checking to InternetAddress constructor
...
R=ajohnsen@google.com
BUG=http://dartbug.com/15687
Review URL: https://codereview.chromium.org//101913008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31220 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 11:26:02 +00:00
karlklose@google.com
c317023d4c
Emit a compile-time error for initializers of the form this.foo and super.foo.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//107103007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31219 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 10:47:34 +00:00
ngeoffray@google.com
c964485a49
Re-apply: Fix regression on side effects of tdiv.
...
R=lry@google.com
Review URL: https://codereview.chromium.org//116773003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31216 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 09:24:27 +00:00
ngeoffray@google.com
3504054b69
Revert r31212. Some tests fail.
...
Review URL: https://codereview.chromium.org//107673004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31215 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 08:52:16 +00:00
zarah@google.com
243e52fa85
Support newInstance() for class mirrors of generic classes.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//96323006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31213 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 08:44:08 +00:00
ngeoffray@google.com
67236b7f71
Fix regression on side effects of tdiv.
...
R=sra@google.com
Review URL: https://codereview.chromium.org//111553003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31212 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 07:35:10 +00:00
rmacnak@google.com
5e3a80268a
Partially implement LibraryMirror.topLevelMembers.
...
BUG=http://dartbug.com/14632
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//111643012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31202 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 19:20:03 +00:00
jacobr@google.com
2000b1c6c0
Update comment to mention Blink bug
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//117443003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31201 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 18:41:02 +00:00
rmacnak@google.com
0ac7836e8f
Implement ClassMirror.reflectedType in dart2js.
...
BUG=http://dartbug.com/12607
R=ahe@google.com , zarah@google.com
Review URL: https://codereview.chromium.org//103713006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31200 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 18:30:28 +00:00
lrn@google.com
bd5f28916f
Add tests for symbols of operators.
...
R=ahe@google.com , floitsch@google.com
Review URL: https://codereview.chromium.org//114603004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31187 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 12:38:53 +00:00