Commit Graph

1846 Commits

Author SHA1 Message Date
srdjan@google.com 1affede0be Fix broken Mac SIMARM by adapting the status files. We need to find a better way to handle this :-).
R=zra@google.com

Review URL: https://codereview.chromium.org//16871006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23947 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:36:12 +00:00
regis@google.com 264d28744f Fix decoding of object pool access in code patching on ARM.
Fix shift by zero and divide by one on ARM.
Update test status files.

R=zra@google.com

Review URL: https://codereview.chromium.org//16695007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23920 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:57:06 +00:00
ahe@google.com 233a218a30 Fix two type errors and dart2dart status.
Review URL: https://codereview.chromium.org//16728005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23894 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 07:38:32 +00:00
regis@google.com 8f62a87598 Switch code generation on ARM from softfp ABI to hardfp ABI.
Support leaf float runtime calls in ARM simulator.
Enable previously failing tests.

R=zra@google.com

Review URL: https://codereview.chromium.org//16638012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23868 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 16:47:01 +00:00
zra@google.com 7718086a5f Fixes small ARM bugs, and updates status files.
R=srdjan@google.com

Review URL: https://codereview.chromium.org//16054007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23718 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 21:52:26 +00:00
scheglov@google.com 80fea8fd8e More fixes for java2dart and status files.
Now DDA passes/fails the same tests as Java version.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//15675016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23705 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 18:13:44 +00:00
jwren@google.com 104baea740 Fix for the broken analyzer-FYI bot
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//16410006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23697 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 16:57:58 +00:00
hausner@google.com f3ca3abd63 Regression test for issue 11023
The VM resolves types too eagerly at least during top-level
parsing. This may result in referencing the wrong type, as in
this new test.

R=iposva@google.com

Review URL: https://codereview.chromium.org//15647019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23651 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 19:15:48 +00:00
vegorov@google.com 59da9de8c7 Ensure that all phis inserted by load optimizer have consistent representation.
Revert r23619.

R=srdjan@google.com
BUG=dart:11048

Review URL: https://codereview.chromium.org//16430002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23634 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 15:37:23 +00:00
srdjan@google.com d883e45e43 Update status files for simarm tests on Mac OS X.
R=zra@google.com

Review URL: https://codereview.chromium.org//16286022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23609 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 19:46:16 +00:00
fschneider@google.com eb5864d73c Update test status file for dart2dart.
This test fails in minified mode.

BUG=dart:11065
TEST=tests/language/super_getter_setter_test.dart

Review URL: https://codereview.chromium.org//16357006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23581 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 08:15:18 +00:00
jwren@google.com cec8d9040a Update status files to mark passing tests as passing for the dart-analyzer.
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//16337009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23555 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 18:27:15 +00:00
fschneider@google.com 07966b62da Fix two bugs in the Dart VM's super-noSuchMethod invocation.
1. The result value of an expression 
"super.someMissingSetter = val" was incorrect in case of a noSuchMethod call.

To fix this I refactored the BuildStaticNoSuchMethod function. It now no longer
creates AST nodes and visits them, because the last argument may be needed saved
as a result value.

2. The evaluation order of "super[e1] = e2" was wrong in case of a noSuchMethod call.

BUG=dart:8917, dart:10965
TEST=tests/language/super_operator_index7_test.dart, tests/language/super_operator_index8_test.dart
R=srdjan@google.com

Review URL: https://codereview.chromium.org//15979010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23553 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 17:09:09 +00:00
zra@google.com 1eaa74c013 Updates status files so that arm and simarm are the same.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15927015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23550 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 16:44:20 +00:00
antonm@google.com 3264ecdd1b Cleanup suppressions.
TBR=vsm@google.com

Review URL: https://codereview.chromium.org//15969012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 15:44:39 +00:00
vsm@google.com d5da0f0c0d Adjusted expectations from last Blink roll
TBR=antonm, blois

Review URL: https://codereview.chromium.org//15795004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23513 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 20:30:14 +00:00
regis@google.com 479c0427d9 Fix leaf floating point runtime calls on ARM (work still needed in simulator).
Various cleanups.

R=zra@google.com

Review URL: https://codereview.chromium.org//15945006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23506 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 23:51:38 +00:00
jwren@google.com df47dc0740 Cover the 'extends' and typedef cases of the CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE error code.
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//16231012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23473 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 16:19:56 +00:00
regis@google.com 97a881be10 Enable language tests on SIMARM and mark 14 of them as failing.
Implement more features on ARM.

R=zra@google.com

Review URL: https://codereview.chromium.org//16244007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23448 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:38:21 +00:00
scheglov@google.com 4170ce84c2 Report CTEC.REDIRECT_TO_NON_CONST_CONSTRUCTOR
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//16181004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23444 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 21:21:17 +00:00
jwren@google.com 30c9e6eb7a Implementation of CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE error code.
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//15855005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23440 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 20:06:28 +00:00
karlklose@google.com ad595d9f98 Adjust dart2dart test expectations.
R=ahe@google.com

Review URL: https://codereview.chromium.org//15792006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23417 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 14:07:25 +00:00
fschneider@google.com 9a6657cd4d Eliminate temporary locals for some expressions
This CL affects a subset of expressions that use temporary locals: constructor
calls, array literals and and instance getter postfix-ops.

For expressions that are de-sugared in the parser I added LetNode.
It creates a scoped temporary local bound to an initializing expression.

For expressions where we need a temporary local at graph-building time,
I added a helper class TempLocalScope to easily create a single temporary
local in the graph builder since this is a frequently recurring pattern.

This simplifies code in the parser and the graph builder and also fixes a
bug with indexed-super invocation and NoSuchMethod.

BUG=dart:8918
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//14942010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23401 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:19:21 +00:00
ngeoffray@google.com 91297abbfa Re-apply "Implement operator== and hashCode for bound closures.". The emitter should not try to share a bound closure class between an intercepted method and a non-intercepted method because the call has different calling conventions: the intercepted version pass an extra argument, which is the actual receiver.
R=kasperl@google.com

Review URL: https://codereview.chromium.org//15888010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23387 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 08:27:28 +00:00
kasperl@google.com 16530e2e6b Fix http://dartbug.com/8669 by making sure we do not crash when trying to use Object as a mixin.
R=johnniwinther@google.com, ngeoffray@google.com
BUG=

Review URL: https://codereview.chromium.org//15888009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23384 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 07:21:49 +00:00
ngeoffray@google.com 76f4ae07ba Revert r23380, some browser tests fail.
Review URL: https://codereview.chromium.org//15987007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23383 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 07:05:38 +00:00
ngeoffray@google.com 6ed50f8a6b Implement operator== and hashCode for bound closures.
R=kasperl@google.com

Review URL: https://codereview.chromium.org//16042014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23380 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 06:48:38 +00:00
scheglov@google.com c082d9f570 Report CompileTimeErrorCode for 'const' argument mismatch.
R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15797007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23374 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 01:22:56 +00:00
ngeoffray@google.com 41663b899b Remove previous duplicated entry in status file (the first entry was removed in https://codereview.chromium.org/15824005/).
Review URL: https://codereview.chromium.org//16189004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23326 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:28:00 +00:00
ngeoffray@google.com 14e320d109 More status file changes.
Review URL: https://codereview.chromium.org//15824005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23323 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 07:39:49 +00:00
ngeoffray@google.com 107ab2ab55 CL https://codereview.chromium.org/16001006/ also fixed dart2dart for redirecting factories.
Review URL: https://codereview.chromium.org//16105006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23321 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 07:14:55 +00:00
iposva@google.com 67220724ec - Reenable gc_test.
Review URL: https://codereview.chromium.org//16063004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23317 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 03:56:33 +00:00
scheglov@google.com f27a535577 Report SWC. and CTEC.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//16113003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23285 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:33:52 +00:00
scheglov@google.com 082df12ce3 Issue 10899. Triage 'language/class_literal' failing tests
https://code.google.com/p/dart/issues/detail?id=10899

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15872003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23281 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:03:03 +00:00
kustermann@google.com a8857ed49c Status file updates for arm -> remove Skip markers
R=ricow@google.com

Review URL: https://codereview.chromium.org//15956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23242 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 09:09:38 +00:00
scheglov@google.com f0d5807146 Triage on-catch related failing language tests
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//15963005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23232 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-27 19:24:11 +00:00
scheglov@google.com 33327969d3 Ensure that 'throw' has expression.
Both VM and dart2js support "rethrow" now, so it is time to start to report error for "throw" without exception.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//15758006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23231 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-27 19:01:38 +00:00
ngeoffray@google.com e5b94c9a7d Fix dart2dart status.
Review URL: https://codereview.chromium.org//16101006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23222 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-27 13:13:07 +00:00
scheglov@google.com 79030deff3 Skip language tests which should pass/fail depending on --checked flag
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//16058004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23197 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-26 05:49:40 +00:00
asiva@google.com c00b3d5571 The Dart VM also supports delayed parsing of classses now. As a part
of this change some negative tests which assumed eager loading of classes
were fixed.

The dart2dart part in language.status file has been updated to account for this.

Review URL: https://codereview.chromium.org//16023010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23183 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 21:16:08 +00:00
asiva@google.com c9fc32dda7 Fix for issue 10839, use the class in order to trigger compilation.
R=hausner@google.com

Review URL: https://codereview.chromium.org//15735023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23175 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 20:09:29 +00:00
asiva@google.com 7b986d83dc Fix dartium build break.
Review URL: https://codereview.chromium.org//15800003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23118 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 00:45:16 +00:00
scheglov@google.com 0441460914 Issue 8365. Report error when user library imports an internal SDK library.
https://code.google.com/p/dart/issues/detail?id=8365

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15741017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23104 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 20:59:09 +00:00
scheglov@google.com 9c459f8ae0 Issue 8801. Report problems for missing [] or []=
https://code.google.com/p/dart/issues/detail?id=8801

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//15813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23078 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 16:31:10 +00:00
scheglov@google.com 8f26879fe9 Report parameters/arguments count mismatch
https://code.google.com/p/dart/issues/detail?id=10108
https://code.google.com/p/dart/issues/detail?id=10302
https://code.google.com/p/dart/issues/detail?id=10494

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15745013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23039 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 19:36:50 +00:00
scheglov@google.com 9782f5dd95 Fix status files and test.
Forgot to rollback one test.

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15563012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22947 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 16:15:35 +00:00
scheglov@google.com 9bb9bd3c36 Report DUPLICATE_CONSTRUCTOR_NAME and other scope fixes
R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15271006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22945 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 15:35:43 +00:00
scheglov@google.com 1242ab6487 Report MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS and other redirection related.
R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15316011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22899 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-20 19:49:44 +00:00
scheglov@google.com e79e1c52c7 Report CTEC.IMPLICIT_THIS_REFERENCE_IN_INITIALIZER
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//15409002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22888 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-19 23:47:10 +00:00
scheglov@google.com a7c769e55c Fix dartc bot.
TBR

R=brianwilkerson@google.com, jwren@google.com
BUG=

Review URL: https://codereview.chromium.org//15400002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22884 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-18 01:40:17 +00:00