johnniwinther@google.com
1d137ff741
invocation_mirror_test passed
...
BUG=http://dartbug.com/6907
Review URL: https://codereview.chromium.org//11447008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15950 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 07:49:45 +00:00
regis@google.com
3b1dfe51d1
Pass the proper invocation mirror argument to noSuchMethod.
...
Review URL: https://codereview.chromium.org//11523002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15939 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 00:31:53 +00:00
ahe@google.com
38ad02fdba
Update status file to reflect that bug 6931 was fixed.
...
Review URL: https://codereview.chromium.org//11505004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15912 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 14:51:58 +00:00
ahe@google.com
05f2056932
Diagnose illegal lvalues better.
...
Also, make sure that internal parser errors are reported as crashes.
BUG=http://dartbug.com/6460
Review URL: https://codereview.chromium.org//11464026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15901 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 12:53:19 +00:00
kmillikin@google.com
a119414b2f
Cache lookups at megamorphic call sites in optimized code.
...
The function name and argument descriptor are mapped to a lookup cache
at compile time. The cache maps class id to target function. It is
resizable.
Review URL: https://codereview.chromium.org//11299298
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15889 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 09:48:52 +00:00
ngeoffray@google.com
f54d019b7d
Make arithmetic_test pass again on dart2js.
...
Review URL: https://codereview.chromium.org//11488004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15888 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 09:19:40 +00:00
karlklose@google.com
6d5654f4aa
Represent runtime type information as nested lists.
...
The class of a type is represented either by its Javascript constructor or, if it is a native JavaScript type, by a string. A type without type arguments uses its class' representation. A types with type arguments is represented by a list, where the first element is the representation of the class and the rest are the representation of the arguments.
Review URL: https://codereview.chromium.org//11448009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15838 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 07:51:17 +00:00
sra@google.com
1cd4107e58
Fix for Issue 7172.
...
Review URL: https://codereview.chromium.org//11440027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15795 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 17:57:49 +00:00
karlklose@google.com
6309233f09
Update dart2dart status files after changing parameter handling in dart2js.
...
TBR=fschneider@google.com
Review URL: https://codereview.chromium.org//11447036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15777 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 10:40:57 +00:00
karlklose@google.com
0b9aae0fb8
Report compile time error if named argument is given twice.
...
BUG=dartbug.com/5213
Review URL: https://codereview.chromium.org//11446009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15776 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 10:05:03 +00:00
karlklose@google.com
0b9ee83b10
Report a compile-time error when a setter has not exactly one formal parameter.
...
BUG=dartbug.com/4870
Review URL: https://codereview.chromium.org//11453009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15774 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 09:27:44 +00:00
ngeoffray@google.com
0c99e0d73c
Fix issue 7086: support call-through getter for interceptor classes.
...
Review URL: https://codereview.chromium.org//11445005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15743 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 19:19:51 +00:00
karlklose@google.com
56a18cb904
Allow string juxtapositions in exports.
...
BUG=dartbug.com/6931
Review URL: https://codereview.chromium.org//11421221
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15729 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 13:04:39 +00:00
ahe@google.com
ba2aa23ce9
Various status file updates.
...
Review URL: https://codereview.chromium.org//11448008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15726 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 10:27:11 +00:00
ahe@google.com
510aef451f
Fix crash on factory redirection to an unresolved class.
...
Review URL: https://codereview.chromium.org//11308347
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15723 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 08:09:33 +00:00
ahe@google.com
ac84fd8b05
Report errors when factory redirection is used in non-factory methods.
...
Review URL: https://codereview.chromium.org//11348376
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15722 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 08:08:06 +00:00
johnniwinther@google.com
da068301e8
language.status updated
...
Review URL: https://codereview.chromium.org//11348380
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15687 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 14:38:03 +00:00
johnniwinther@google.com
54f3b81e28
MalformedType used for all invalid type annotations.
...
Review URL: https://codereview.chromium.org//11412245
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15684 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 12:02:29 +00:00
regis@google.com
6bfd82c6da
Update or delete language tests using obsolete interfaces or default factory
...
classes (issue 6324).
Review URL: https://codereview.chromium.org//11434089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15653 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 20:51:15 +00:00
scheglov@google.com
5679566f2d
More co19 triage.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11428131
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15644 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 17:49:07 +00:00
scheglov@google.com
17d16e41d7
Triage and fixes for co19 library tests.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11416307
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15643 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 17:30:21 +00:00
ngeoffray@google.com
f78cdd1b3c
- Parse the return type of JS during resolution to know what can be instantiated there.
...
- Don't pass the number interceptor to the generic getInterceptor: double already covers it.
Review URL: https://codereview.chromium.org//11308257
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15637 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 15:45:55 +00:00
hausner@google.com
859889b9c5
Eliminate old style import from language tests
...
Also implement multi-part library names.
Review URL: https://codereview.chromium.org//11316283
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15612 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 23:20:01 +00:00
scheglov@google.com
47d52ca683
Triage some co19 tests.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11414264
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15597 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 20:19:43 +00:00
regis@google.com
91ad9a0180
Remove support for interfaces.
...
For now, disable tests using obsolete syntax.
Tests disabled in this cl and in previous ones removing default factory classes
will either be deleted or updated in a later cl.
Review URL: https://codereview.chromium.org//11411271
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15562 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 01:26:31 +00:00
scheglov@google.com
04e18f28de
Triage some co19 tests.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11418233
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15527 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:39:02 +00:00
vegorov@google.com
aa2e7c9f72
Implement better side effect tracking for load-to-load forwarding.
...
Any field store can interfere only with stores to the same offset.
Indexed store can only interfere with indexed load.
This tracking is not yet used by LICM.
R=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//11280232
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15518 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 14:47:06 +00:00
ricow@google.com
3760272d10
Suppress crashes from issue 6931 in host_checked mode
...
Review URL: https://codereview.chromium.org//11428072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15502 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 09:09:33 +00:00
regis@google.com
7e9531a1d2
Remove support for default factory classes.
...
For now, disable tests using obsolete syntax. More will get disabled as support
for interfaces is completely removed. We may then permanently remove some tests,
while updating and reenabling others whose purpose is not related to interfaces.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15480 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 23:39:27 +00:00
ngeoffray@google.com
4a47fb8424
Fix a bad merge that lead to unused optimization: implement the dataEquals in HInterceptor in order to GVN it.
...
Review URL: https://codereview.chromium.org//11418183
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15453 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 15:50:31 +00:00
ahe@google.com
5b8225c775
Record redirection targets as instantiated in the resolver.
...
BUG=http://dartbug.com/6894
Review URL: https://codereview.chromium.org//11415151
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 08:59:16 +00:00
regis@google.com
1de3a5c0f7
Enforce rule in vm that factory name must match enclosing class name.
...
This is a step towards removing support for obsolete default factory classes.
For now, disable tests using obsolete syntax. More will get disabled as support
is completely removed. We may then permanently remove some tests, while updating
and reenabling others whose purpose is not related to default factory classes.
Review URL: https://codereview.chromium.org//11419191
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15428 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:11:29 +00:00
scheglov@google.com
34aca3a353
Issue 6969. Fix for reporting machine format for EOS error.
...
http://code.google.com/p/dart/issues/detail?id=6969
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11418190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15416 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 21:41:18 +00:00
ahe@google.com
0d6649d02d
Test that built-in identifiers can be used as library prefixes.
...
Review URL: https://codereview.chromium.org//11106011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15396 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 14:59:56 +00:00
ahe@google.com
81ea0974ad
Update dartc status.
...
Review URL: https://codereview.chromium.org//11416201
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15391 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 14:04:46 +00:00
ahe@google.com
ae3b1eed0d
Report parser error if a class isn't terminated by }.
...
Review URL: https://codereview.chromium.org//11348216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15383 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 11:47:59 +00:00
ngeoffray@google.com
a5c9b8e890
Fix braino in Selector.==: check the kind too.
...
Review URL: https://codereview.chromium.org//11348243
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15373 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 09:14:35 +00:00
scheglov@google.com
1661792570
Issue 6866. Report not-implemented-in-concrete class warnings if there are members without body.
...
http://code.google.com/p/dart/issues/detail?id=6866
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11411146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15335 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:45:06 +00:00
srdjan@google.com
85cf9af6ab
Fix for issue 6678: Result of identical(a, b) with a and b doubles not consistent.
...
Implement proposed new identity spec (flag --new_identity_spec). It will be enabled/committed once the new spec been confirmed.
The new spec says that identity of numbers is computed on their values instead of on the object reference. This provides deterministic behavior without having to disable optimizations in the VM. In some cases 'identical' is now slower than 'equality' as more checks need to be done. The VM compiler can optimize 'identical' in the future.
My benchmarks do not show any slow down.
Review URL: https://codereview.chromium.org//11414136
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15332 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 18:35:45 +00:00
scheglov@google.com
1806149f58
Issue 6824. Re-export of conflicting elements is error.
...
http://code.google.com/p/dart/issues/detail?id=6824
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11308173
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15320 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 17:48:48 +00:00
scheglov@google.com
1277895b47
Issue 6836. Using undeclared identifier in static context is now warning.
...
http://code.google.com/p/dart/issues/detail?id=6836
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//11280135
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
aprelev@gmail.com
d551a69370
Produce run-time error when type parameters are accessed from static context.
...
BUG=dartbug.com/5231
TEST=
Review URL: https://chromiumcodereview.appspot.com//11416144
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15292 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 16:53:04 +00:00
smok@google.com
5dba8d6f26
[dart2dart] triage language tests
...
Review URL: https://codereview.chromium.org//11280148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15283 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 13:21:08 +00:00
karlklose@google.com
b88bc3bfcc
Fix runtimeType for List and bool. The type arguments were lost in when merging with the new interceptor style.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//11348207
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15277 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 10:02:29 +00:00
ahe@google.com
2d76aefb62
Add a test of non-factory constructors using redirection.
...
Review URL: https://codereview.chromium.org//11418060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15273 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 08:39:00 +00:00
karlklose@google.com
ed86b34f07
Mark test as failing on darc.
...
TBR=ahe@google.com
Review URL: https://codereview.chromium.org//11316147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15262 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 15:05:25 +00:00
karlklose@google.com
cedae29dff
Fix a type annotation in the parser to make it accept non-literal strings as part URIs in checked mode.
...
Review URL: https://codereview.chromium.org//11412147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15259 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 14:46:49 +00:00
karlklose@google.com
b9b03826a8
Simplify runtime type support.
...
1. Store the class name on the JS constructor and only attach runtime type information to objects that need information about their type arguments.
2. Generate the runtime type string at runtime.
3. Change the structure of runtime type information to an array and access type arguments by index.
Review URL: https://codereview.chromium.org//11360228
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15255 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 13:32:08 +00:00
erikcorry@google.com
359736e97a
Fix Unicode issues in dart2js and dart2dart.
...
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//11418115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
fschneider@google.com
1fe6e5a592
Remove invalid test.
...
The test is invalid since the expected behaviour has changed.
There is already a negative test for the correct behaviour
(tests/language/type_variable_static_context_negative_test.dart)
BUG=dart:643
R=ahe@google.com
Review URL: https://codereview.chromium.org//11308168
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15247 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:08:51 +00:00