ahe@google.com
4efea1420e
Update dart2js_foreign suite as we now validate annotations.
...
Review URL: https://codereview.chromium.org//11293272
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14885 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:29:40 +00:00
lrn@google.com
929970a95c
Change <T> to <E> in Sequence<T> and subclasses.
...
One T was an error, and should already be E.
BUG=6690
Review URL: https://codereview.chromium.org//11275312
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14884 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:25:26 +00:00
ngeoffray@google.com
e4e6eed36c
Fix status file. Test fails in non-checked mode too.
...
Review URL: https://codereview.chromium.org//11293273
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14883 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:25:16 +00:00
ngeoffray@google.com
b8b04e8a56
Support corelib tests in checked mode.
...
Review URL: https://codereview.chromium.org//11361257
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14882 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:09:22 +00:00
ngeoffray@google.com
c51c9d54c5
Move some string methods in the interceptor, and support for optional parameters in intercepted methods.
...
Review URL: https://codereview.chromium.org//11366224
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14881 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 12:03:59 +00:00
antonm@google.com
fff76e072a
Fix incorrect names.
...
R=podivilov@chromium.org
BUG=6644
Review URL: https://codereview.chromium.org//11275311
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14879 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 10:31:01 +00:00
ahe@google.com
5b2656ec44
Implement --analyze-all option.
...
Review URL: https://codereview.chromium.org//11293244
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14878 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 09:47:58 +00:00
ngeoffray@google.com
476bd57a69
Add a getter interceptor to the new interceptor scheme. Also cleanup the "this" that turns into a receiver hack, so that a method in an intercepted class can call another method of itself.
...
Review URL: https://codereview.chromium.org//11358217
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14876 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 09:16:34 +00:00
regis@google.com
02a8df0c83
Remove private class helping the parser to construct literal lists and maps.
...
Patch List and Map (implementation) classes with literal factories.
Review URL: https://codereview.chromium.org//11369234
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14873 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 04:28:02 +00:00
fschneider@google.com
59a1f747f4
Enable inlining of functions containing instance-of.
...
The corresponding issues have been fixed and all tests pass now.
BUG=dart:5216,dart:5217
Review URL: https://codereview.chromium.org//11369230
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14872 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 23:45:23 +00:00
srdjan@google.com
439110bf48
Move lazy deoptimization of all optimized code from top level parsing to end of class finalization (after installing new classes, and --use_cha, we need to invalidate some optimzied code)
...
Review URL: https://codereview.chromium.org//11370008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14871 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 23:31:07 +00:00
vegorov@google.com
b38ad8f4fb
Count per check hits in ICData.
...
R=srdjan@google.com
BUG=
Review URL: https://codereview.chromium.org//11275290
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14870 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 23:21:02 +00:00
rnystrom@google.com
10c9d938ab
Place "packages" directories inside "tool".
...
Review URL: https://codereview.chromium.org//11362233
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14868 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 22:06:35 +00:00
scheglov@google.com
dd172d631d
Type quality of ArrayAccess is same as quality of target type.
...
Also tweak using "inferred exact" only for places where we sure about type.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11364211
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14867 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 21:12:48 +00:00
regis@google.com
ebc3402925
Create symbols for string constants.
...
Review URL: https://codereview.chromium.org//11360231
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14866 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 21:05:55 +00:00
scheglov@google.com
5a8befa2d8
Get real result for batch exacution.
...
Not just exit code 1 always.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11366213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14865 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 21:04:14 +00:00
fschneider@google.com
569322cec5
Improve SHR by using range information for the shift count.
...
Avoid emitting unnecessary range checks for the shift count
if the value is known to be positive and/or less than the
max shift count.
Review URL: https://codereview.chromium.org//11364222
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14864 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 20:00:47 +00:00
regis@google.com
7614e956dc
Check result type of redirecting factory in checked mode.
...
Review URL: https://codereview.chromium.org//11369219
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14862 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 19:02:08 +00:00
srdjan@google.com
7375693321
In optimized code use IC calls for instance calls that have no IC data instead of deoptimizing. The optimized IC call increments usage counter and reoptimizes optimized function if the threshold is met.
...
Recognize closure calls and mark them in ICData. Closure calls do not populate ICData, i.e., number of checks is always 0 (unless mixed closure calls with regular instance calls). Therefore closure IC calls do not count for reoptimization.
Review URL: https://codereview.chromium.org//11361225
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14860 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 18:34:05 +00:00
ager@google.com
b9438f9a1c
Update status file for dart2js
...
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11293251
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14854 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 15:39:09 +00:00
ager@google.com
31d840a267
D'oh! Add the last suppression as well.
...
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11359180
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14853 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 15:25:38 +00:00
ager@google.com
1764a9fd2c
Add failures to status files
...
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11362227
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14852 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 15:22:14 +00:00
ager@google.com
28b43144e5
Update dart:io to convert strings between UTF8 and current code page
...
when interacting with the system.
What we get from and need to hand to the VM is utf8. What we
get from and need to hand to the system is in the current
code page.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11275281
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14851 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 15:03:23 +00:00
ajohnsen@google.com
b7b3bb5919
Make ReceivePort an abstract class.
...
BUG=
Review URL: https://codereview.chromium.org//11275280
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14849 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 14:05:43 +00:00
lrn@google.com
87eec0ef1f
Revert "Exception no longer an interface."
...
Broke more than expected.
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//11364216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14848 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 14:04:19 +00:00
lrn@google.com
def3ee60a5
Exception no longer an interface.
...
Some tests disabled due to dartbug.com/6697
Review URL: https://codereview.chromium.org//11365226
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14847 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 13:42:51 +00:00
ngeoffray@google.com
7e53cbe71e
Update test expectations for dart2dart and drt.
...
Review URL: https://codereview.chromium.org//11366219
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14846 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 13:18:50 +00:00
ngeoffray@google.com
a742983dd5
Start new design for interceptors and implement String.charCodeAt with it.
...
Review URL: https://codereview.chromium.org//11365170
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14845 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:59:53 +00:00
lrn@google.com
7e10a8ab58
Fix analyzer test expectations
...
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//11366218
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14844 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:40:49 +00:00
lrn@google.com
4a18bbf916
Remove deprecated exception classes.
...
Review URL: https://codereview.chromium.org//11360224
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14843 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 12:22:54 +00:00
whesse@google.com
92045c8c64
Change gyp flag from in_dartium to dart_io_support.
...
BUG=
Review URL: https://codereview.chromium.org//11377098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14842 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:47:31 +00:00
ajohnsen@google.com
25d2147517
Change the VM-specific crypto interfaces to asbstract classes.
...
BUG=
Review URL: https://codereview.chromium.org//11377130
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14841 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:45:34 +00:00
sgjesse@google.com
c27bd8bb28
Refactoring of the HTTP library
...
Better state handling: On both server and client the state of the
connection is tracked. This goes for both the HTTP
request/response state (idle, active, done) and the socket
state (open, read closed, write closed).
Simplified the socket event handling: All socket onData, onClosed
and onError events go directly to the HTTP parser. The HTTP
connection only receives events from the HTTP parser now.
Better close handling: A close queue have been added where
sockets which should be closed are added. When in the close queue
the socket will be closed when either all data from the output
stream are written or an error occours.
Changed the HTTP parser to parse either requests or responses.
Removed the null-checks in the HTTP parser for whether the
callbacks where set. The HTTP parser is only used internally and
we always set all callbacks.
Whether it fixes the bugs listed below still needs to be verified
through thorough testing on all platforms. However the code should be
in much better shape from this refactoring.
R=ager@google.com
BUG=dart:6393, dart:6521, dart:6594
Review URL: https://codereview.chromium.org//11410003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14840 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:19:59 +00:00
ajohnsen@google.com
970cc5ba68
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
...
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
ajohnsen@google.com
ab69873a42
Make RegExp constructor non-const.
...
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.
BUG=
Review URL: https://codereview.chromium.org//11369210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com
1daf6eb5ee
Correctly pass constructor arguments to _HMAC.
...
BUG=
Review URL: https://codereview.chromium.org//11410064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14836 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:05:55 +00:00
ajohnsen@google.com
8e10088843
Make interfaces into abstract classes in 'dart:crypto'.
...
BUG=
Review URL: https://codereview.chromium.org//11293245
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14835 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 09:48:14 +00:00
sgjesse@google.com
dc7d5fa7cf
Byte array documentation fix
...
R=cshapiro@google.com
BUG=
Review URL: https://codereview.chromium.org//11366034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14834 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 08:25:41 +00:00
ajohnsen@google.com
ec9fee9858
"Reverting 14829-14832"
...
BUG=
Review URL: https://codereview.chromium.org//11312203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com
0dbc2e6eaa
Two more files with const RegExp.
...
BUG=
Review URL: https://codereview.chromium.org//11377126
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14832 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:11:19 +00:00
ajohnsen@google.com
1e471c2c5e
Fix const RegExp -> final RegExp in a dartdoc file.
...
BUG=
Review URL: https://codereview.chromium.org//11362219
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14831 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:05:07 +00:00
ajohnsen@google.com
2b4fb1a50f
Change const Regexp -> new RegExp in a few HTML files.
...
BUG=
Review URL: https://codereview.chromium.org//11410063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14830 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:58:53 +00:00
ajohnsen@google.com
8dc3edd7ce
Make RegExp's constructor non-const.
...
BUG=
Review URL: https://codereview.chromium.org//11410033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
hausner@google.com
4ca0c72fd5
Enforce proper library/import syntax
...
Review URL: https://codereview.chromium.org//11312197
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14828 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 01:06:48 +00:00
vegorov@google.com
f46860b868
Eradicate CallSiteInliner::next_ssa_temp_index_.
...
It should always be equal to the max SSA temp index stored on the caller graph itself. Thus it is redundant and dangerous to store it in two places.
R=kmillikin@google.com
BUG=
Review URL: https://codereview.chromium.org//11312200
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14827 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:50:57 +00:00
gram@google.com
da4fb40152
Fix sort test status for dartc.
...
Review URL: https://codereview.chromium.org//11312199
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14826 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:44:18 +00:00
srdjan@google.com
1fad6314b7
Do not add InstantiatedTypeArgument entries into cache as they cannot be canonicalized. Limit the maximum subtype cache size, so that it does not become brobdingnagian and thus slows the GC.
...
Review URL: https://codereview.chromium.org//11369204
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14825 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:43:17 +00:00
gram@google.com
0140f9bcb6
Revert the changes to co19; I didn't realize that I couldn't change these
...
tests.
Review URL: https://codereview.chromium.org//11365211
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14824 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 00:24:46 +00:00
hausner@google.com
4a0f4b0911
Fix debugger test
...
Review URL: https://codereview.chromium.org//11369203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14823 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 23:51:51 +00:00
iposva@google.com
c9c79e6bcc
- Fix x64 build.
...
Review URL: https://codereview.chromium.org//11362214
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14822 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 23:26:38 +00:00