Commit Graph

1330 Commits

Author SHA1 Message Date
koda@google.com 56defa8060 Write-barrier verification on ARM.
Add and use methods on Assembler for writing and verifying object fields.
Enable tests in verified_mem mode for simarm.
Also generalize and use InitializeFieldsNoBarrierUnrolled in one more place.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42208 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 16:15:33 +00:00
regis@google.com e20569cf8b Reenable a few previously slow tests on MIPS.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42141 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 19:32:39 +00:00
rmacnak@google.com 9bdff93aa9 Re-blacklist SystemEncoding: still failing on Windows.
BUG=http://dartbug.com/15274
TBR=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42095 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 00:09:42 +00:00
rmacnak@google.com dd3c1fa32e Remove several entries from invocation fuzzer blacklist.
Add event loop, isolate startup, and symbol helper functions to the invisible list.

Include doubles as a target.

BUG=http://dartbug.com/15274
BUG=http://dartbug.com/20583
BUG=http://dartbug.com/21707
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42092 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 22:08:32 +00:00
fschneider@google.com a49870e721 VM: Remove use of IterableMixinWorkaround from _List, _ImmutableList and _GrowableList.
_List, _ImmutableList and _GrowableList now extend ListBase which uses ListMixin.

Note that typed data lists are still using IterableMixinWorkaround for now.
They will be changed in a separate CL since it involves a few more changes
to the VM.

BUG=dartbug.com/13647
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42061 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-02 10:38:51 +00:00
rmacnak@google.com 5aff08b9ef Skip more of event loop dispatch in invocation fuzzer to avoid triggering runtime errors we cannot catch.
BUG=http://dartbug.com/21473
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42054 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 22:56:31 +00:00
whesse@google.com 0cda682b96 Update status for html and lib tests.
BUG=dartbug.com/21710
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41954 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 14:41:42 +00:00
ricow@google.com 9fe428f545 Fix suppression reorg from revision 41945.
I did not take the multitest selector into account

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41947 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 08:46:11 +00:00
ricow@google.com 1c6f7eeeca Supress flaky test, lib/mirrors/invocation_fuzz_test/string, on mac debug
Additionally, simplify existing supression on javascript command line engines.

Filed issue 21707 to track the flaky test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41945 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 07:59:06 +00:00
whesse@google.com 12845acbf3 Revert "Add android device id to test output in test scripts."
This reverts r41933

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41934 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:53:30 +00:00
whesse@google.com d91010512a Add android device id to test output in test scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41933 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:40:13 +00:00
lrn@google.com ad532b79e0 Make Utf8Decoder and Utf8Encoder's convert methods take start and end too.
BUG= http://dartbug.com/21652
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41844 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-20 11:23:51 +00:00
koda@google.com 7001650c96 Test status: verification tests on ia32, x64 only.
TBR=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41810 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 18:59:58 +00:00
koda@google.com fde4d2882c Add missing verified write on x64; extend test coverage
On x64, StoreInstanceField and StoreIndexed sometimes used Assembler::StoreObject to store constants directly into heap objects. This method is unaware of the write barrier. Fix this by adding a write-barrier-aware method, like we already have on ia32.

Generally, we should consider distinguishing more clearly between stack stores and heap stores, for instance by adding HeapAddress/StackAddress types.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41808 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 16:35:59 +00:00
whesse@google.com c61eb1fdb9 Update test status for analyzer error in DOM bindings code.
BUG=dartbug.com/21647
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41799 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 12:52:30 +00:00
rmacnak@google.com 77adbe5bca Remove/skip invalid mirror tests.
-class of 1 is not required to declare int as an interface
-owner of members of mixin applications is the mixin
-MirrorsUsed does not have a semantics

R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41540 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 01:10:33 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
regis@google.com 30dce6a5d1 Fix issue 21474 in mirrors.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41453 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-31 23:16:11 +00:00
regis@google.com 71c8b1b210 Revert mixin fix r41424 until mirrors issue 21474 is fixed.
Review URL: https://codereview.chromium.org//691053004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41425 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 19:04:02 +00:00
regis@google.com 5a09dee193 Fix Function::Clone() and Field::Clone() to adjust the class owner of type
parameters (issue 18630).
Add regression tests.
Commented out 3 lines in mirror test (issue 21474 filed).

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41424 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 17:39:40 +00:00
whesse@google.com 2db6b324e1 Update Safari status files.
BUG=dartbug.com/21434

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41415 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 10:17:19 +00:00
nweiz@google.com cb75ee00bc Don't analyze async_await in the repo bots.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41411 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 00:55:17 +00:00
whesse@google.com 53264f42c0 Mark tests flaky on Safari 6.2
BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41393 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-29 10:30:25 +00:00
whesse@google.com aeba67e44e Add builder tag for Safari 6.2 slave. Update status files for Safari 6.2.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41323 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 16:09:00 +00:00
lrn@google.com 75e49f5220 Fix test warnings and expect Safari mobile simulator bug.
Review URL: https://codereview.chromium.org//679143003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41319 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 15:07:20 +00:00
lrn@google.com 8050a0392b Fix assertion not holding (calling with start==end) and typo.
Review URL: https://codereview.chromium.org//677423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41317 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 14:00:13 +00:00
lrn@google.com e2e17c3f26 Make JSON parsing work as a chunked conversion sink.
This allows JSON parsing to work on individual chunks of source instead
of collecting and concatenating all the parts before parsing.

This is made in anticipation of having a UTF-8 version that parses directly
on the input codes, without creating a String first.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41311 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 12:11:39 +00:00
floitsch@google.com c5702b1784 dart2js: add --preserve-uris flag.
R=blois@google.com, johnniwinther@google.com, nweiz@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41205
Reverted: https://code.google.com/p/dart/source/detail?r=41206

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41244 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 09:05:26 +00:00
johnmccutchan@google.com aa2319fa88 Expect int64_list_load_store_test to fail for dart2js
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41234 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 20:30:34 +00:00
johnmccutchan@google.com fb7f8551b4 Add unboxed Mint for X64
BUG=
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41233 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 18:11:43 +00:00
floitsch@google.com 9a8c878d48 Mark analyzer test as failing.
Add minimal example to lib/mirrors.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41097 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 13:44:38 +00:00
rmacnak@google.com a8e5ad20a5 Don't crash when generating error messages with malformed strings.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40829 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 00:49:36 +00:00
rmacnak@google.com fa5668fc70 Multitest has a 'checked mode compile-time error' marker now. Use it to clean up the mirrors status file a bit.
BUG=http://dartbug.com/16351
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40799 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-30 04:41:40 +00:00
herhut@google.com abdf5f38a7 Corrected RuntimeError/Skip settings for invocation_fuzz_test for dart2js.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40762 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 11:45:25 +00:00
herhut@google.com 6d5e4979c9 Skip lib/mirrors/invocation_fuzz_test on dart2js/d8 .
BUG=
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40711 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 15:01:19 +00:00
herhut@google.com aebf6268e8 Do not mark lib/mirrors/invocation_fuzz_test as RuntimeError in checked mode.
BUG=
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40709 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 14:02:11 +00:00
herhut@google.com 16d3ee8234 Disable all variants of lib/mirrors/invocation_fuzz_test for dart2js/d8.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40705 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 13:11:38 +00:00
lrn@google.com 181efd76ee Add missing null-tests to async error functions.
Also treat null errors comming out of Zone.errorCallback as
NullThrownError.

This should prevent, as was always the intention, any async error
from having a null value.
This is important for async/await syntax, where the distinction
between sync and async errors is removed.

(For Dart 2.0, we could just make null throwable).

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40673 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 11:00:49 +00:00
rmacnak@google.com 7899a9cc64 Mark _Bigint._mulAdd and conversion methods in typed_data as invisible. Strengthen the mirror invocation fuzzer.
BUG=http://dartbug.com/21046
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40609 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 22:01:45 +00:00
rmacnak@google.com 645b5a0d2b Revert "Add _Bigint._mulAdd to the invisible list. Strengthen the mirror invocation fuzzer."
Review URL: https://codereview.chromium.org//590703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40580 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 00:01:33 +00:00
rmacnak@google.com 7e7d568be5 Add _Bigint._mulAdd to the invisible list. Strengthen the mirror invocation fuzzer.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40576 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 22:46:40 +00:00
floitsch@google.com cfca89e24f Typedefs don't support generic arguments yet.
Review URL: https://codereview.chromium.org//583333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40514 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 19:23:37 +00:00
floitsch@google.com db3307b493 dart2js: mirrors. Support Typedef.reflectedType.
BUG= http://dartbug.com/18938
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40494 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 11:42:39 +00:00
whesse@google.com 90c7a56bdd Update status for Dartium tests.
BUG=dartbug.com/21012, dartbug.com/21000
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40491 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 10:22:04 +00:00
regis@google.com 879043ba6f Intrinsify Bigint 'multiply and accumulate" function on ia32.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40485 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 02:05:00 +00:00
iposva@google.com 365be3a302 Fix Dartium tests:
- Make arguments to main optional.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40461 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:45:06 +00:00
iposva@google.com 2dc9179ece - Prevent flakes in pi_test.dart.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40443 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 16:53:24 +00:00
nweiz@google.com 1db48a68c7 Mark all pub files as potentially failing in the analyzer.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40407 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 22:14:02 +00:00