Commit Graph

1115 Commits

Author SHA1 Message Date
johnmccutchan@google.com 9351dc1297 dart2dart lib.status fix
Review URL: https://codereview.chromium.org//20200002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25454 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:05:54 +00:00
johnmccutchan@google.com 810bd8af3e Update lib.status
Review URL: https://codereview.chromium.org//20167002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25446 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 22:02:55 +00:00
rmacnak@google.com 1a0b3c7871 Make reflective invocations raise NoSuchMethodErrors in the cases where non-reflective invocations do so. Resolves issues 11187 and 11957.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25387 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 00:29:17 +00:00
zra@google.com 22c342637c Implements Float32x4 and Uint32x4 instructions for ARM.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25358 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 20:02:12 +00:00
floitsch@google.com 4492371167 Update issue numbers.
Review URL: https://codereview.chromium.org//19796009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25336 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 10:14:03 +00:00
floitsch@google.com 94a078f5fc Mark typed-data test as failing for IE9.
Review URL: https://codereview.chromium.org//19980005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25335 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 10:09:50 +00:00
srdjan@google.com aba435de6a FIx a typo in SIMMIPS min/max and enable min_max_test for SIMMIPS by splitting the main functions into two parts.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25314 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 22:43:51 +00:00
srdjan@google.com 17bc0e19c4 Fix math min/max for -0.0 case. Enable min_max_test to run in optimizing compiler as well.
R=regis@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25306 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 21:37:43 +00:00
ahe@google.com ed2be03a80 Mark lib/async/stream_controller_async_test as flaky
Review URL: https://codereview.chromium.org//19974003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25290 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 18:08:29 +00:00
ahe@google.com d60a65e9b7 Update status file.
Review URL: https://codereview.chromium.org//19571005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25289 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 18:03:38 +00:00
ahe@google.com eca46b2d0a Implement top-level invoke and operators.
BUG=http://dartbug.com/11861
BUG=http://dartbug.com/6490
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25283 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 16:17:00 +00:00
ahe@google.com c17ca9d9b3 Implement top-level accessors.
Also, implement top-level fields in minified mode.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25276 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 14:52:39 +00:00
mlippautz@google.com b3cb27a829 Since returnType is represented by a mirror, we make it lazy. We do not use a lazy mirror anymore, but instead create a type mirror upon first access.
CreateTypeMirror is already factored out of MethodMirror_return_type since it is needed by others mirrors (future CLs). Also introduces CreateMirror() which will be used in future CLs.

BUG=
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25252 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 23:17:47 +00:00
johnmccutchan@google.com ce3362938c Disable float32x4_shuffle_test in minified dart2dart
Review URL: https://codereview.chromium.org//19680006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25238 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 20:06:06 +00:00
johnmccutchan@google.com 522a7ef504 Add all 256 shuffle methods to Float32x4
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25227 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 17:03:09 +00:00
zra@google.com 31fa41a784 Enables more SIMD tests for ARM.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25219 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 15:28:53 +00:00
ahe@google.com 1477f01314 Implement reflection on native classes.
BUG=http://dartbug.com/11902
R=karlklose@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25201 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 10:06:50 +00:00
zra@google.com d886c10f6e Enables a SIMD test for ARM.
Required adding the veorq, vmovq, and vdup instructions.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25165 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 18:40:27 +00:00
ahe@google.com ed48b2394a Fix a few issues related to mirrors:
* Bad assertion in emitter.

* Don't assume we generate checked setters for statics.

* Unmangle field names using getter prefix (which makes "everything" work in minified mode).

BUG=http://dartbug.com/6490
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25092 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 12:40:30 +00:00
ahe@google.com 912b741073 Mark test as failing while I work on a fix.
Review URL: https://codereview.chromium.org//19560002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25088 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 10:53:14 +00:00
ahe@google.com ba03042893 Implement reflecting on static fields.
BUG=http://dartbug.com/11745
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25086 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 08:40:39 +00:00
ahe@google.com 5d3e7058d3 Implement reflective access to static methods.
BUG=http://dartbug.com/11745
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25085 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 08:33:30 +00:00
mlippautz@google.com 8b65384ede Moved some MethodMirror getters from embedded API to lazy native calls.
The more complex ones (creating LazyXXXMirror) are still left and will be handled in a separate CL.

Tests are (still) excluded from dart2js, because of one regression test in the same file.

BUG=
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25081 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 00:42:30 +00:00
johnniwinther@google.com 7271db486b Status updated.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24915 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 13:56:12 +00:00
karlklose@google.com 2f8f7f4824 Use type variables of mixin when computing the substitution.
BUG=dartbug.com/11722
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24875 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 08:19:29 +00:00
mlippautz@google.com c95fabd890 Exclude MethodMirror tests for dart2js until issue 6335 is fixed.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24873 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 01:43:59 +00:00
regis@google.com e8a722870b Support type parameters and classes as expression in the vm.
Turn many compile-time errors into runtime errors per latest spec.
Triage affected tests.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24861 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 19:35:56 +00:00
floitsch@google.com 8dd1601ccc Fix status file.
Review URL: https://codereview.chromium.org//18855013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24847 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 15:57:56 +00:00
floitsch@google.com d3dc0606cc Fix status file.
Review URL: https://codereview.chromium.org//18859003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24803 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 16:34:36 +00:00
lrn@google.com 50d6b9811a Dart2js bug only applies to unchecked mode.
Remove an unncessary trace in event_state_test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24797 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 14:52:38 +00:00
lrn@google.com 3c73760e68 Fix typos in test expectations.
Review URL: https://codereview.chromium.org//18798003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24795 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 12:41:09 +00:00
lrn@google.com 57291fed77 Address more bot-redness.
Review URL: https://codereview.chromium.org//18841002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24794 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-08 12:24:31 +00:00
zarah@google.com 01251efd5e Add isActive field on Timer.
BUG= http://dartbug.com/10010
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24678 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 12:01:11 +00:00
ahe@google.com 4a4b1bf8d2 Copy compiled constants from metadataHandler to constantHandler.
BUG=http://dartbug.com/11550

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24595 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 16:28:55 +00:00
ahe@google.com 3abe288a30 Implement JsMethodMirror.parameters and returnType.
BUG=http://dartbug.com/11513
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24580 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 11:07:54 +00:00
zra@google.com 573b9d859a Fixes a bug in the mips Random_nextState intrinsic.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24549 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:46:28 +00:00
regis@google.com 3711825476 Fix Random_nextState intrinsic on ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:16:53 +00:00
zra@google.com 60392c70fd Implements external array access for mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24524 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:39 +00:00
ahe@google.com 201b854db6 Skip dart:mirrors test on dart2dart.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24406 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 13:58:03 +00:00
ahe@google.com d3c24e1068 Implement JsClassMirror.constructors.
BUG=http://dartbug.com/11486
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24389 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 09:32:56 +00:00
johnniwinther@google.com 28acc13c57 Update status files.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24313 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 09:09:07 +00:00
johnniwinther@google.com 2432ac4647 Support runtime check of function types.
New scheme for checking function subtyping:

1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.

A check succeeds if either 1) or 2) is true.

If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.

R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=24286

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24309 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 06:58:55 +00:00
johnniwinther@google.com 90bf6203ee Revert "Support runtime check of function types."
This reverts commit r24286.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24288 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 14:02:47 +00:00
johnniwinther@google.com 2ce76ed94a Support runtime check of function types.
New scheme for checking function subtyping:

1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.

A check succeeds if either 1) or 2) is true.

If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.

R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24286 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 13:35:56 +00:00
ahe@google.com 4df615688b Update status for dart2dart.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24185 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 13:59:45 +00:00
ahe@google.com 8e6f665fac ClassMirror.newInstance in minified mode.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24169 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 07:47:44 +00:00
ahe@google.com 4720dfe31c Correctly reflect on intercepted classes.
BUG=http://dartbug.com/11309
R=ngeoffray@google.com

Committed: https://code.google.com/p/dart/source/detail?r=24129

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24134 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 11:20:19 +00:00
ahe@google.com 550366ed84 Revert "Correctly reflect on intercepted classes."
This reverts r24129.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24130 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 10:53:52 +00:00
ahe@google.com 9310152704 Correctly reflect on intercepted classes.
BUG=http://dartbug.com/11309
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24129 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 09:26:31 +00:00
ahe@google.com a77cea883e Dart2dart status.
Review URL: https://codereview.chromium.org//17255002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24089 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 11:07:46 +00:00