Commit Graph

2071 Commits

Author SHA1 Message Date
srdjan@google.com c891612920 Adapt Random class to be able to run in javascript integer compatibility mode.
R=asiva@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25753 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 23:07:55 +00:00
zra@google.com fa2ad38a31 Enables per-function far-branches for ARM and MIPS.
R=regis@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25723 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 20:51:46 +00:00
rmacnak@google.com 6ab88ae6d5 Implement metadata for libraries. Partially addresses issue 10906.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25721 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 20:45:49 +00:00
mlippautz@google.com f1dcf02f75 Inline CreateClassMirror and remove dead code.
(Almost) no more embedding API, yay!

Fixes issue 12135.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25717 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 18:27:32 +00:00
rmacnak@google.com 0c4a1474d0 Skip test that involves comparing the rootLibrary on Dartium.
Review URL: https://codereview.chromium.org//21595002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25714 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 17:46:45 +00:00
rmacnak@google.com 409f02d3f9 Implement mirror equality on the VM. Resolves issue 12026.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25711 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 16:40:10 +00:00
rmacnak@google.com a200e84db6 Mark null_test as failing on Dartium as well.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25702 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 02:34:00 +00:00
rmacnak@google.com 12c00d74c6 Add tests for reflecting on null and Null.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25701 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 01:31:38 +00:00
rmacnak@google.com 8ee3299833 Allow InstanceMirror.invoke to find private members. Resolves issue 11771.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25690 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 23:45:12 +00:00
mlippautz@google.com 9f602cfa83 Also fixes issue 11897.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25689 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 23:31:14 +00:00
zra@google.com 8abc6895fd Fixes analyzer status file.
Why do we have to duplicate this information across status files?
Wouldn't it be easier for the analyzer test scripts to use the
existing status files?

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25684 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 21:47:08 +00:00
mlippautz@google.com c5c6df3548 BUG=
R=asiva@google.com, rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25651 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 22:57:59 +00:00
zra@google.com 8f3e8783f8 Implements the two argument shuffle SIMD instruction for ARM.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25638 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 20:49:22 +00:00
johnmccutchan@google.com 2e4754ecf5 Add Float32x4List.fromList to runtime implementation and some tests
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25586 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 21:32:06 +00:00
zra@google.com ec9e5dfa15 Marks timing-out simmips tests as Pass, Slow.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25583 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 21:03:29 +00:00
zra@google.com b266d3a59c Updates status file for ARM hardware.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25582 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 20:39:29 +00:00
johnmccutchan@google.com 10969ab342 Inline two argument shuffle operations on IA32 and X64.
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25580 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 18:57:35 +00:00
zra@google.com dad3270d95 Implements far branch targets for MIPS.
This change adds a flag --mips-far-branches, which when set causes
relative branches to be converted to absolute branches by determining
the PC, adding the branch offset to it, and using the jr or jalr
instruction to jump if the branch test passes.

This procedure clobbers the assembler temporary TMP, so TMP can no
longer be used in a branch test or in the branch delay slot of a
relative branch. Because TMP can't be used in a branch test, a
new temporary is introduced CMPRES2. This change replaces TMP with
CMPRES1 or another register where TMP can no longer be used.

Tests that were failing due to a too-far relative have the
--mips-far-branches flag set.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25543 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 23:30:32 +00:00
floitsch@google.com 74f8d81b4e Add Timeout to FF status.
On my machine (FF 22) it doesn't even take 5 secs to finish...

R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25518 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 11:29:41 +00:00
floitsch@google.com a34421fd66 Add transformer support to Converters.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25517 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 10:35:42 +00:00
ahe@google.com 1ebbd88137 Implement IsolateMirror.
R=kustermann@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25516 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 10:11:54 +00:00
rmacnak@google.com b0cd678f0c Implement ClassMirror.superclass with internal code for ordinary (but not function type) classes. Resolves issue 5794 and issue 9434.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25508 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 22:45:07 +00:00
mlippautz@google.com 8ce69b14e0 Addressing DBC from https://codereview.chromium.org/19780002/
BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25487 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 18:16:49 +00:00
johnmccutchan@google.com 53ddd08b84 Allow SIMD types to be used on mips
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25481 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 17:31:19 +00:00
floitsch@google.com fc7ce6e81d Mark test as slow.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25477 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 16:00:23 +00:00
johnmccutchan@google.com e9aba15df8 Fix dart2js and dart2dart buildbot breakage
Review URL: https://codereview.chromium.org//20335002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25476 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 15:58:45 +00:00
floitsch@google.com 69ed3ee100 Make utf88_test faster.
Review URL: https://codereview.chromium.org//20300004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25469 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 14:54:30 +00:00
johnmccutchan@google.com 667b2e7fad Implement SIMD types for dart2js
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25468 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 14:46:39 +00:00
floitsch@google.com 7e84621a59 Mark chunked_conversion_utf88_test as slow on simmips.
Review URL: https://codereview.chromium.org//20312002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25467 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 14:02:32 +00:00
floitsch@google.com efe4781eed Add chunked conversion to converters.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25466 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 13:26:09 +00:00
rmacnak@google.com 4a98a91696 Change the return value of setField to be in line with non-reflective assignments. Complete unwrapping of exceptions for the InstanceMirror invokes. Resolves issue 11219 and issue 11943.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25457 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:18:42 +00:00
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
johnmccutchan@google.com cebd147b39 Add two argument shuffle operations to Float32x4
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25443 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 21:29:45 +00:00
ahe@google.com 2c0006c72b Fix a bug that caused a runtime error when attempting to read metadata of a class without metadata.
BUG=http://dartbug.com/11960
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25398 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 07:42:16 +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
jwren@google.com 87a578829a Fix the analyzer status file after 25361
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25375 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 22:35:11 +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 15c7882e7d Add UTF-8 encoder.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25342 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:41:21 +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
floitsch@google.com 279849d941 Fix sublist check, add missing methods and add tests for typed data lists.
Somehow these lists were still missing functions (in the VM) and the sublist check was broken (in dart2js).

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25333 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 09:20:05 +00:00
srdjan@google.com 71cada8f75 Partitioned min_max_test for checked mode as well.
Review URL: https://codereview.chromium.org//20011002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25319 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 23:19:18 +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
floitsch@google.com f601233af9 Remove dart:codec and move classes into dart:convert.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25267 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 12:25:16 +00:00