karlklose@google.com
870857f764
Adjust test status.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//11085077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13548 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 15:15:59 +00:00
karlklose@google.com
823d31d330
R=floitsch@google.com
...
Review URL: https://codereview.chromium.org//11085076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13546 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 14:51:45 +00:00
karlklose@google.com
6f3a0d58d5
Give different runtime type representations to different types with the same name.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//11086074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13543 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 14:09:00 +00:00
floitsch@google.com
8a0ebc5fcf
Allow closures inside lazy initializers.
...
BUG:http://dartbug.com/3559 .
Committed: https://code.google.com/p/dart/source/detail?r=13459
Committed: https://code.google.com/p/dart/source/detail?r=13467
Review URL: https://codereview.chromium.org//10913133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13542 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 13:57:42 +00:00
johnniwinther@google.com
981fdd3a4d
Show and hide combinators supported.
...
BUG=3454
Review URL: https://codereview.chromium.org//11087073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13534 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 12:04:43 +00:00
ricow@google.com
934a6d0277
Update status file to merge vm and dartium suppression for issue 1604.
...
Review URL: https://codereview.chromium.org//11091064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13527 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 09:37:50 +00:00
ahe@google.com
f67215f815
Test of AbstractClassInstantiationError.
...
Review URL: https://codereview.chromium.org//11017052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13517 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:40:30 +00:00
ricow@google.com
1a4781de79
Suppress dartium failure on language/test_call.
...
Review URL: https://codereview.chromium.org//11092070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13512 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 05:54:31 +00:00
efortuna@google.com
96174bdaa1
typed_message_test started passing. Since this was never fully investigated to
...
begin with, I've updated the bug report for futher investigation later:
http://code.google.com/p/dart/issues/detail?id=5383
Review URL: https://codereview.chromium.org//11092059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13505 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 22:05:33 +00:00
efortuna@google.com
f3871d9620
Tweak test status (not failing on linux?)
...
Review URL: https://codereview.chromium.org//11066104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13504 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 21:38:11 +00:00
efortuna@google.com
81cbd6d83a
Tripped up by the two different language.status files. AGAIN.
...
Review URL: https://codereview.chromium.org//11028124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13502 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:59:49 +00:00
floitsch@google.com
026b907d2e
Register parameter types for closure invocations to the backend.
...
Submit CL 11091029 on behalf of Nicolas.
https://codereview.chromium.org/11091029
BUG=http://dartbug.com/5744
Review URL: https://codereview.chromium.org//11099044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13492 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:09:54 +00:00
efortuna@google.com
517b046467
Additional fix to language.status after commit of "Added support for exports and
...
re-exports"
Review URL: https://codereview.chromium.org//11099043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13487 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 18:33:49 +00:00
johnniwinther@google.com
58586845b0
language.status updated
...
Review URL: https://codereview.chromium.org//11093051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13482 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:47:24 +00:00
floitsch@google.com
9dad6e7c47
Revert "Allow closures inside lazy initializers."
...
This reverts commit 13467.
Review URL: https://codereview.chromium.org//11092050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13480 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:33:14 +00:00
johnniwinther@google.com
a7a074c3da
language.status updated
...
Review URL: https://codereview.chromium.org//11085043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13479 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:26:18 +00:00
johnniwinther@google.com
ef93dd9da1
Added support for exports and re-exports.
...
BUG=5429
TESTS=language/export_test, language/export_cyclic_test
Review URL: https://codereview.chromium.org//10990060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13478 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:08:18 +00:00
karlklose@google.com
6fa5d0065c
Complete support for type variables in new expressions.
...
Review URL: https://codereview.chromium.org//11092046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13475 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:53:24 +00:00
floitsch@google.com
1b5cc82678
Allow closures inside lazy initializers.
...
BUG:http://dartbug.com/3559 .
Committed: https://code.google.com/p/dart/source/detail?r=13459
Review URL: https://codereview.chromium.org//10913133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13467 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:09:57 +00:00
floitsch@google.com
ae83e25dec
Revert "Allow closures inside lazy initializers."
...
This reverts commit 13459.
Review URL: https://codereview.chromium.org//11086045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13464 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 11:10:52 +00:00
floitsch@google.com
c5600d9947
Allow closures inside lazy initializers.
...
BUG:http://dartbug.com/3559 .
Review URL: https://chromiumcodereview.appspot.com//10913133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13459 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 09:18:46 +00:00
srdjan@google.com
c83fd716e4
Implement SmiToInt and DoubleToInt. All necessary tests are in tests/language/arithmetic_test.dart
...
Review URL: https://codereview.chromium.org//11098009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13443 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:43:10 +00:00
ahe@google.com
e1e381e60f
Update status file for FF on Windows.
...
Review URL: https://codereview.chromium.org//11085021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13420 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 16:20:23 +00:00
lrn@google.com
174f264557
First stab at parsing redirecting constructors.
...
Review URL: https://codereview.chromium.org//10957060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13410 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 12:18:52 +00:00
fschneider@google.com
b38daebd36
Faster 64-bit left-shift for ia32.
...
This CL adds a fast left-shift that operates on unboxed mints.
(64-bit integers) to the ia32 optimizing compiler.
Review URL: https://codereview.chromium.org//11085004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13408 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 11:59:44 +00:00
ahe@google.com
be6337249c
Update vm status correctly!
...
Review URL: https://codereview.chromium.org//11087024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13400 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 08:15:21 +00:00
ahe@google.com
d1bbcbc8ca
Update vm status.
...
Review URL: https://codereview.chromium.org//11098014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13399 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:58:30 +00:00
ahe@google.com
8214500336
Implement part-of directive.
...
Review URL: https://codereview.chromium.org//11092003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13398 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:49:48 +00:00
iposva@google.com
78c30b0775
- Update status files for failing tests.
...
Review URL: https://codereview.chromium.org//11093013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13387 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 00:47:42 +00:00
iposva@google.com
5f2f50f960
Land http://codereview.chromium.org/11047027/ for Matthias:
...
Implement export clause in VM
Implement export namespace support in VM compiler.
Missing functionality: ensuring that a name is only re-exported once.
Review URL: https://codereview.chromium.org//11028084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13384 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 00:14:42 +00:00
fschneider@google.com
5f2bdb2f7d
Fix bug with missing unboxed mint-to-double conversion.
...
In case of a mixed integer/double operation that has a mint
input, the corresponding conversion from unboxed mint to unboxed
double was missing.
This CL converts a unboxed mint to a double by first boxing,
and then unboxing. Currently, we deoptimize in case the result
does not fit into a smi because we can only optimize mixed
smi/double operations and not yet mint/double operations.
BUG=dart:5721
TEST=tests/language/mint_arithmetic.dart
Review URL: https://codereview.chromium.org//11017017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13372 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 20:20:53 +00:00
karlklose@google.com
fb4dcb67f5
Fix error reporting on member declarations.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//11071015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13347 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 09:12:48 +00:00
ngeoffray@google.com
2e1f7156fb
Fix buggy computations in value ranges, spotted by floitsch@.
...
Review URL: https://codereview.chromium.org//11042002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13344 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 07:58:38 +00:00
regis@google.com
11b767177b
Fix language test status for dart2dart and dartc.
...
Review URL: https://codereview.chromium.org//11068033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13322 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 21:24:55 +00:00
regis@google.com
3a45259cc5
Implement new scope rules for type variables (issue 5230).
...
Fix tests.
Review URL: https://codereview.chromium.org//11030056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13316 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:29:02 +00:00
fschneider@google.com
3efefbd582
Faster 64-bit right-shift for the ia32 compiler.
...
Review URL: https://codereview.chromium.org//11027060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13295 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 14:42:00 +00:00
ngeoffray@google.com
e06641a16b
Do not GVN HLocalGet. If the local is final, the GVN thinks it can loop hoist accesses to it (which it can't because the variable may have not been initialized).
...
Review URL: https://codereview.chromium.org//11031068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13280 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 10:46:13 +00:00
hausner@google.com
ed960e0432
Add catchless catch clauses
...
The Dart grammar says the catch clause is optional, ie. the following is legal:
try {
...
} on String {
...
}
Added a test case
Review URL: https://codereview.chromium.org//11051031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13240 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 16:10:45 +00:00
ngeoffray@google.com
0b6bf430fb
Create and use new change/depends flags for the GVN analysis.
...
Review URL: https://codereview.chromium.org//11017006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13220 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 11:59:44 +00:00
regis@google.com
1b8e614d7d
Change compile-time errors into dynamic errors in instance creation expression
...
(issue 3085).
Change compile-time errors into dynamic errors in static getter and setter
calls (issues 3088, 3094).
Fix a crash in flow graph builder for missing static getter (issue 4360).
Add support in VM for NoSuchMethodError.
Remove support in VM for StaticResolutionException.
Add, remove, update related language tests.
Triage related co19 tests.
Review URL: https://codereview.chromium.org//11049038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13208 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 00:15:38 +00:00
smok@google.com
60d94cee1a
[dart2js] Report an error if throw is used outside of catch expression without an argument.
...
BUG=5598
Review URL: https://codereview.chromium.org//11049023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13171 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 11:51:34 +00:00
fschneider@google.com
6632f191c4
Support for unboxed 64-bit integer bitwise operations and equality on ia32.
...
This CL adds AND, OR, XOR and == operations on unboxed 64-bit integers
(aka. mints).
Unboxed mints are stored in xmm registers. Each xmm register location
has an additional bit to keep track of its value representation.
Unboxed mints are materialized on the heap on deoptmization in the same way as
unboxed doubles.
The SSE instructions used are available on all CPUs that support SSE 4.1.
Review URL: https://codereview.chromium.org//10968059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13112 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 11:25:53 +00:00
floitsch@google.com
7bdb3fcb49
Update status file.
...
Review URL: https://codereview.chromium.org//11032017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13105 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 09:41:27 +00:00
floitsch@google.com
be51d1308e
Add failing tests for dart2js' range-analysis.
...
Review URL: https://codereview.chromium.org//11035007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13104 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 09:06:15 +00:00
srdjan@google.com
62f74c19c9
Revert r13022 (revert inlining of methods with control flow), Review URL: https://codereview.chromium.org//10979078 ; disable inlining of methods with control-flow so that we do not run out of heap space.
...
Review URL: https://codereview.chromium.org//11029002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13081 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 18:33:13 +00:00
srdjan@google.com
04d28f2ed1
Convert MOD to AND for power-of-two positive constants.
...
Review URL: https://codereview.chromium.org//10982095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13040 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 20:14:05 +00:00
scheglov@google.com
112281a50e
Issue 3968. Report error if cycle in redirecting factory constructors
...
http://code.google.com/p/dart/issues/detail?id=3968
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//10983089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13036 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 18:20:57 +00:00
srdjan@google.com
a5e9100c46
Inline String isEmpty, refactor inlining of intrinsics.
...
Review URL: https://codereview.chromium.org//10993023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13032 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 17:40:29 +00:00
kmillikin@google.com
c4e717264d
Revert several inlining related changes.
...
Revert svn revisions r12990, r12991, r12995, and r13000. Increased inlining
leads to excessive code growth, preventing dart2js to run in checked mode.
The changes will be relanded when we can come up with improved size
thresholds.
R=ngeoffray@google.com
BUG=
Review URL: https://codereview.chromium.org//10979078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13022 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 13:50:17 +00:00
lrn@google.com
6f2cf94aa8
Rename CastException to CastError.
...
Review URL: https://codereview.chromium.org//10977078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13009 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:13:58 +00:00