lrn@google.com
bddb668174
Add some async/await tests.
...
R=sgjesse@google.com , sigurdm@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44368
Review URL: https://codereview.chromium.org//968963002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44395 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-11 10:15:59 +00:00
lrn@google.com
c54856f8be
Revert "Add some async/await tests."
...
Some tests are failing on the bots.
Review URL: https://codereview.chromium.org//995803002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44369 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-10 13:41:34 +00:00
lrn@google.com
fc0f0c144a
Add some async/await tests.
...
R=sgjesse@google.com , sigurdm@google.com
Review URL: https://codereview.chromium.org//968963002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44368 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-10 12:56:38 +00:00
karlklose@google.com
3fb9f53b51
Update new dart2dart test expectations.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//989123007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44362 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-10 09:34:24 +00:00
hausner@google.com
15f91a1979
Suspend after async generator terminates
...
Suspend the async generator after it closes the stream. If there
are outstanding requests to schedule the generator, this ensures
that no portions of the generator body get executed again.
R=regis@google.com
Review URL: https://codereview.chromium.org//990363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44352 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-09 23:25:01 +00:00
regis@google.com
5cb782b7fb
Fix async machinery for finally clauses (issues 22445, 22300).
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//974073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44210 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 23:55:18 +00:00
regis@google.com
d3e4da7d12
Mark test regress_22445_test as failing.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//977633002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44194 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 19:22:16 +00:00
hausner@google.com
b099f3d79e
Fixium for dartium
...
Review URL: https://codereview.chromium.org//970273002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44193 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 19:16:14 +00:00
regis@google.com
8618df1864
One more fix to async machinery (rethrow in finally, issue 22595).
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//973103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44189 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 18:34:01 +00:00
hausner@google.com
9a6ed9a718
Implement async* functions in VM
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//944893005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44185 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 17:49:53 +00:00
regis@google.com
c2b5257847
Mark test as timing out on dartium (as it was before r44107).
...
Review URL: https://codereview.chromium.org//970473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44110 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-28 00:17:07 +00:00
regis@google.com
0036014d8a
Fix async machinery (issue 22445 and possibly others to be triaged later).
...
R=hausner@google.com , iposva@google.com
Review URL: https://codereview.chromium.org//958243003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44107 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 22:19:47 +00:00
regis@google.com
00ce7069d2
Update dart2dart language status file after fix.
...
Review URL: https://codereview.chromium.org//951773004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44005 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-24 22:48:15 +00:00
regis@google.com
afd4864b0e
Save exception and stack trace variables in async catch clauses and use them
...
in rethrow statements (fix issue 22523).
R=hausner@google.com
Review URL: https://codereview.chromium.org//956583003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44001 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-24 22:05:35 +00:00
rmacnak@google.com
be05129a8c
Mark async_rethrow_test as failing on Dartium as well.
...
TBR=hausner@google.com
Review URL: https://codereview.chromium.org//943093003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43939 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-21 01:00:30 +00:00
srdjan@google.com
093da297dc
Added a test for issue 22523.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//950463002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43935 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-20 22:55:23 +00:00
regis@google.com
4d09e6a9dd
Accept constant string concatenation and constant string length as constant
...
expressions (fix issue 22408).
R=hausner@google.com
Review URL: https://codereview.chromium.org//935713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43831 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-18 00:38:40 +00:00
kevmoo@google.com
4cc4e28411
status files: trying out new SkipSlow flag
...
and selectively used SkipByDesign in more places
R=whesse@google.com
Review URL: https://codereview.chromium.org//928523002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43815 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 17:21:39 +00:00
sigurdm@google.com
1c3a2fe9bb
Fix status files
...
BUG=
Review URL: https://codereview.chromium.org//928633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43813 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 15:48:16 +00:00
sigurdm@google.com
3ae9ac92c5
Fix error handling in dart2js async-await
...
BUG= dartbug.com/22372
R=floitsch@google.com
Review URL: https://codereview.chromium.org//925973002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43812 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 14:51:49 +00:00
hausner@google.com
2f0d13af3b
Fix yield statements in catch blocks
...
This is a partial fix for issue 22300. The VM no longer setfaults when
using yield in try statements. Yield in catch blocks work. What’s still
not working right is if a value is yielded before an exception is
propagated to the caller.
R=regis@google.com
Review URL: https://codereview.chromium.org//914303006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43707 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-12 00:12:07 +00:00
sigurdm@google.com
454602332b
Only schedule the execution of an async* when the stream is
...
subscribed to.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//902783008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43646 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 14:19:54 +00:00
sigurdm@google.com
c6a7d8782a
Status updates, and minor fixes to tests of async-await.
...
BUG=
Review URL: https://codereview.chromium.org//912513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43594 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 14:30:59 +00:00
sigurdm@google.com
7b0bc3d220
Implementation of async-await transformation on js ast.
...
BUG=
R=floitsch@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//839323003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43591 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 12:02:52 +00:00
asiva@google.com
48fbf3627b
Fix status file for dartium/dart
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//898143003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43532 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 23:54:29 +00:00
hausner@google.com
999a613f00
Fix dart2dart test expectations
...
Review URL: https://codereview.chromium.org//904763002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43531 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 23:12:45 +00:00
hausner@google.com
2487c76886
Add support for sync* and yield and yield*
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org//888463004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43516 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 18:36:40 +00:00
johnniwinther@google.com
7ef82b92ad
Fix async_test problems.
...
+ disallow async modifier on setters.
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//898703004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43465 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 12:41:49 +00:00
johnniwinther@google.com
801c4e5735
More status updates.
...
BUG=
Review URL: https://codereview.chromium.org//896663003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43394 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 13:40:24 +00:00
johnniwinther@google.com
1b2cf4e51b
Fix dartium status, 2nd attempt.
...
BUG=
Review URL: https://codereview.chromium.org//894063005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43389 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 11:39:03 +00:00
johnniwinther@google.com
93fef72fb3
Update analyzer and dartium status.
...
BUG=
Review URL: https://codereview.chromium.org//900513004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43386 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 09:53:31 +00:00
johnniwinther@google.com
d9e1bcc91b
Support async/await in dart2dart.
...
BUG=
R=floitsch@google.com , paulberry@google.com
Review URL: https://codereview.chromium.org//880973005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43380 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 08:31:54 +00:00
johnniwinther@google.com
9a42285d5f
Fix new dart2dart backend.
...
BUG=
R=herhut@google.com
Review URL: https://codereview.chromium.org//885313002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43330 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 11:24:24 +00:00
johnniwinther@google.com
519263807a
Support enums in dart2dart.
...
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//878843003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43230 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-28 09:04:49 +00:00
sigurdm@google.com
c95d6162a8
Let the dart2dart compiler stop in case of failure (errors).
...
This is a stop-gap measure to avoid crashes
BUG= dartbug.com/22085
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//868273003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43172 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-27 09:03:08 +00:00
vegorov@google.com
d96def0231
Mark load_to_load_unaligned_forwarding_vm_test as Pass, Crash on platforms other than IA32/X64.
...
For some reason it passes on the real ARM hardware.
TBR=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//879613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43141 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 16:50:29 +00:00
vegorov@google.com
2b42069b43
Fix LoadOptimizer's handling of load/stores with constant indices for TypedData.
...
LoadOptimizer computes KILL sets in assumption that place X[C] can alias place X[K] if and only if K == C. This however does not hold for TypedData where X[0] can alias X[1] if we are reading 32bit value at X[0] and 8bit value at X[1]. The only thing that TypedData guarantees is that all accesses are done with byte offsets aligned by the size of the data type.
This change incorporates TypeData elements aliasing rules into LoadOptimizer:
- Place hierarchy was extended with constant index places for TypedData X[C|S]:
- C is a byte offset to the element being read instead of an unscaled index that was used before;
- S size of the element being read.
- KILL set computation ensures the following aliasing rule:
X[C|S] aliases X[RoundDown(C, S')|S'] for all sizes S' > S
R=fschneider@google.com
BUG=http://dartbug.com/22120
Review URL: https://codereview.chromium.org//868283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43137 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 15:14:35 +00:00
sigurdm@google.com
b9c1798175
Improve mirror_in_static_init_test
...
Make it a multitest.
Fix a syntax error.
Also move it to lib/mirrors/ - it will then automatically be skipped by
dart2dart.
BUG=dartbug.com/22071
R=floitsch@google.com , karlklose@google.com
Review URL: https://codereview.chromium.org//813503005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42992 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-19 14:52:25 +00:00
sigurdm@google.com
2486f7c594
Mark dart2dart crashes in status files
...
BUG=
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//856783002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42954 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-16 13:50:13 +00:00
whesse@google.com
247ff772d6
Update status files, replace "dartbug.com" with "Issue ".
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//845793004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42900 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 10:27:11 +00:00
koda@google.com
4c7e0fa307
Suspend long jump scope when invoking Dart code.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//853633002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42880 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-14 18:37:43 +00:00
sigurdm@google.com
bc8a7faf62
Fix status files to allow async-await tests to run on non-vm
...
Also fix a syntax-error in one test to make the analyzer happy.
BUG=
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//847123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42858 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-14 11:07:35 +00:00
floitsch@google.com
9a7236dd4a
Fix status file for dart2dart.
...
Review URL: https://codereview.chromium.org//801223005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42765 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 09:36:32 +00:00
floitsch@google.com
927ac592bd
Update status file and test.
...
Review URL: https://codereview.chromium.org//823143005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42739 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-09 16:59:26 +00:00
floitsch@google.com
86d9c01cd5
dart2js: Support new const operations on strings.
...
BUG= http://dartbug.com/21001
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//585173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42737 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-09 16:07:53 +00:00
hausner@google.com
52279a7417
Fix test expectations
...
Review URL: https://codereview.chromium.org//758133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41963 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 18:38:58 +00:00
koda@google.com
dcb6b10c58
Skip enum_mirror_test under dart2dart.
...
TBR=hausner@google.com
BUG=dart:11511
Review URL: https://codereview.chromium.org//748483004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41944 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 00:27:49 +00:00
iposva@google.com
96bf02b8f1
- Make array immutable first, then canonicalize it.
...
- When serializing canonical objects, then inline the referenced
objects, so that you can canonicalize them when deserializing.
- Reenabled language/enum_const_test.
R=asiva@google.com
Review URL: https://codereview.chromium.org//745203002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41881 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 07:18:40 +00:00
iposva@google.com
1eb1c6d319
- Do not attempt to canonicalize while we debug test failures.
...
Review URL: https://codereview.chromium.org//747673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41877 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 00:11:36 +00:00
hausner@google.com
4bf624ebc0
Implement enum types in VM
...
Fully support enum types as per language spec version 1.6.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//735723003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41815 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 23:10:07 +00:00