Commit Graph

180 Commits

Author SHA1 Message Date
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
ahe@google.com 4509912981 Improve toString on mirrors and align VM and dart2js.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24081 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 09:39:12 +00:00
ahe@google.com 62d3aa43f2 Fix comment in status file
Review URL: https://codereview.chromium.org//17239003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24078 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 08:53:10 +00:00
ricow@google.com 32a7905ef8 Mark lib/mirrors/library_metadata_test as passing on dart2js csp.
I don't think the bug to which this suppression was assigned is correct.
Additionally, the suppression on the next line for  mirrors/metadata_test seems to be wrongly clasified as a vm bug as well (or I am wrong and this is actually a vm bug, but it does not seem like it).

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24073 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 06:50:09 +00:00
floitsch@google.com 2ae198d527 Reapply "Zone support for Futures, Timer, Streams."
This reapplies commit r24034.
This reapplies commit r24035.
This reapplies commit r24036.
This reapplies commit r24037.

+ some status file updates and fixes.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24064 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-15 11:28:38 +00:00
hausner@google.com 7b75ff5d08 Fix dart2dart status
Metadata test fails with this error

tests/lib/mirrors/metadata_test.dart:46:20: Warning: Using "MirrorSystem.getName" may result in larger output.
  if (MirrorSystem.getName(symbol) != 'symbol') {

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24061 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 23:07:58 +00:00
hausner@google.com e31cc3e3f2 Fix dart2js minified status
Metadata test fails under dart2js-d8 minified. Passes in non-minified case.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24060 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 23:00:39 +00:00
zra@google.com 1e4ee79226 Fix status file syntax error.
Review URL: https://codereview.chromium.org//17121003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24056 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 22:08:03 +00:00
hausner@google.com fb317e6b2c Fix dart2dart status
Review URL: https://codereview.chromium.org//17088007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24055 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 22:05:58 +00:00
srdjan@google.com a288a5de57 Disable isolate and async tests on simarm as they are constantly causing trouble. Enable them once we have more reliable state.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24054 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 22:02:51 +00:00
gram@google.com 6cf2368212 Mark a few more ARM/MIPS tests as crashable. They started crashing
after unittest was changed in r24045.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24052 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 21:20:19 +00:00
gbracha@google.com c78462c2ad Changes to mirrors in support of metadata access at runtime.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24050 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 21:12:58 +00:00
floitsch@google.com 98b131e119 Revert "Update status file."
This reverts commit r24040.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24041 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 17:07:46 +00:00
floitsch@google.com 91362998b2 Update status file.
Review URL: https://codereview.chromium.org//17055005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24040 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 17:00:30 +00:00
ahe@google.com 3c81dea67e Update status files.
Review URL: https://codereview.chromium.org//17064005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24031 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 14:17:06 +00:00
zra@google.com 826b6ce267 Fix status files for SIMARM, SIMMIPS.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24014 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 22:28:34 +00:00
regis@google.com d6b41b2f56 Mark tests as timing out.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23921 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 17:35:59 +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
kustermann@google.com 8ea94854e3 Second round of status file updates for simarm/arm
TBR=zra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23915 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:04:39 +00:00
ahe@google.com f0224cdc36 Implement:
JsClassMirror.methods, JsClassMirror.getters,
JsClassMirror.setters, JsMethodMirror.isGetter,
JsMethodMirror.isGetter, JsMethodMirror.isStatic,
and JsMethodMirror.isPrivate.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23892 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:51:35 +00:00
ahe@google.com eeac55f800 Expose default constructors through ClassElement.localMembers.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23891 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:37:59 +00:00
ahe@google.com 9b87d9f7e3 lib/mirrors/disable_tree_shaking_test doesn't work in minified mode on dart2dart either.
Review URL: https://codereview.chromium.org//16347015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23869 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 17:06:38 +00:00
kustermann@google.com b13c4123b9 Don't skip vm/corelib/isolate/lib/standalone tests on ARM
TBR=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23860 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:57:21 +00:00
ahe@google.com 7b0467ef19 Add compileAll internal compiler flag.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23858 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:43:21 +00:00
kustermann@google.com f73188d127 Use gnueabihf for ARM + enabled corelib/isolate/lib/standalone tests on ARM again
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23854 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 14:21:28 +00:00
sgjesse@google.com db4897b844 Move the crypto expectations to the pkg status file
TBR=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23810 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 13:52:41 +00:00
ahe@google.com d318c99bb1 Implement ClassMirror.superclass.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23797 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 06:47:53 +00:00
antonm@google.com ae1393fcdc Revert "Try out 15 ms safety margin."
TBR=floitsch@google.com, iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23732 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 08:38:09 +00:00
antonm@google.com 5d90793a87 Try out 15 ms safety margin.
If tests start to pass on Windows, it might be a notable clue
that Stopwatch implementation on this platform is not precise
enough.

R=floitsch@google.com
BUG=10982

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23696 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 16:43:16 +00:00
ahe@google.com 237bd988a8 dart2dart doesn't support reflection in minified mode.
Review URL: https://codereview.chromium.org//16359007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23595 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 14:04:13 +00:00
ahe@google.com 1afe9e9325 Update CSP status.
Review URL: https://codereview.chromium.org//16359006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23594 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 13:53:36 +00:00
ahe@google.com 00d1a0664c Implement metadata for instance fields.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23580 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 08:07:53 +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 7e4902c886 More expectations fixes
Hopefully, this gets everything green.

TBR=blois, antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23522 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 04:07:19 +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 b7eb5aedbe Cleanup various test status files.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23450 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:39:37 +00:00