Commit graph

33342 commits

Author SHA1 Message Date
Srdjan Mitrovic
476d18aca4 Do not generate some temporary String objects while compiling (field names extracted from getter/setter functions).
BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org//1296403003 .
2015-08-17 17:34:37 -07:00
Harry Terkelsen
f65c675c16 Add tests for simple packages scenarios
BUG=
R=iposva@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org//1290623002 .
2015-08-17 17:13:19 -07:00
Brian Wilkerson
81fbf6af7c Initial steps toward adding strong mode to the new task model
R=leafp@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//1289283004 .
2015-08-17 17:07:50 -07:00
Seth Ladd
e6423fa5eb tweak CHANGELOG
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1295233002 .
2015-08-17 16:30:20 -07:00
Regis Crelier
6d6a6a49b6 Clean up code capturing variables explicitly.
R=hausner@google.com

Review URL: https://codereview.chromium.org//1284103008 .
2015-08-17 16:09:42 -07:00
John McCutchan
29c41e3624 Drop support for recording Dart objects in a timeline trace
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1295223002 .
2015-08-17 15:30:15 -07:00
Seth Ladd
ec730f64c7 changelog for observatory
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1300693003 .
2015-08-17 15:25:57 -07:00
Zachary Anderson
95c951ad19 Fix for arm and arm64 builds
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1298783002 .
2015-08-17 14:58:00 -07:00
Daniel Andersson
0fe9feefa2 Fix simulators.
BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1289883004 .
2015-08-17 13:46:24 -07:00
Daniel Andersson
76ff397c1c Migrate LongJumpScope to Thread.
This was one of the blockers for concurrent compilation (issue 24109).

BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1299653003 .
2015-08-17 13:29:17 -07:00
Daniel Andersson
b96076eba4 Test running compiler on a helper thread with mutator paused.
This test currently fails on new-space allocation, etc., and is meant to be used as a milestone in TDD towards a fully concurrent optimizing compiler.

(This is analogous to https://codereview.chromium.org/1289153002/
which does pass.)

BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1297663003 .
2015-08-17 13:27:57 -07:00
Ryan Macnak
9e18a7519d Move test runtime entries out of the master list.
R=fschneider@google.com

Review URL: https://codereview.chromium.org//1296703002 .
2015-08-17 11:05:18 -07:00
Konstantin Shcheglov
7e99b8696e Support for analysis.setPriorityFiles for files in SDK.
R=brianwilkerson@google.com
BUG= https://github.com/dart-atom/dartlang/issues/215

Review URL: https://codereview.chromium.org//1289643003 .
2015-08-17 10:48:38 -07:00
Florian Loitsch
debf1d6f7c Don't zone-register async callbacks for every await call in the VM.
This has the nice side-effect that the stack_trace package provides nicer chains.
Fixes issue 23394.

R=hausner@google.com

Committed: 4dae43d637
Reverted: cb4f9fc925

Review URL: https://codereview.chromium.org//1274133002 .
2015-08-17 19:26:50 +02:00
John McCutchan
aa430494f4 Fix script entry case of SdkExtUriResolver.restoreAbsolute
- Fix entry case of restoreAbsolute.
- Add TODO to fix part case

R=paulberry@google.com

Review URL: https://codereview.chromium.org//1294473009 .
2015-08-17 10:01:01 -07:00
Dan Rubel
0aaa3bd0a4 reformat and 2 new tests for #23501
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1290743003 .
2015-08-17 11:20:20 -04:00
Florian Loitsch
cb4f9fc925 Revert "Don't zone-register async callbacks for every await call in the VM."
This reverts commit 4dae43d637.

Review URL: https://codereview.chromium.org//1296973002 .
2015-08-17 16:43:35 +02:00
Johnni Winther
1d356f8072 Refactoring resolution of updates to type literals.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1301583002.
2015-08-17 16:23:37 +02:00
Ivan Posva
1bc0f82658 - Speculative change for Dartium bots.
BUG=

Review URL: https://codereview.chromium.org//1297973002 .
2015-08-17 07:02:17 -07:00
Florian Loitsch
4dae43d637 Don't zone-register async callbacks for every await call in the VM.
This has the nice side-effect that the stack_trace package provides nicer chains.
Fixes issue 23394.

R=hausner@google.com

Review URL: https://codereview.chromium.org//1274133002 .
2015-08-17 15:58:19 +02:00
Florian Loitsch
672df7c087 dart2js: Don't zone-register callbacks in async functions for every await.
R=johnniwinther@google.com, lrn@google.com

Review URL: https://codereview.chromium.org//1281523003 .
2015-08-17 15:57:34 +02:00
Florian Loitsch
7e64f3d962 Dart2js async-await. Bind the async-body to the current zone.
Also ensure the wrapping of js-functions happens only once per
async-call.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1163833002 .
2015-08-17 15:56:53 +02:00
Florian Schneider
922516fbba Revert "VM: Materialize stub pc-markers (smi 0) eagerly on deoptimization."
This reverts commit fee8daa5c5.

Check if this was the reason for dart2js flaky crashes.

R=floitsch@google.com
TBR=floitsch@google.com

Review URL: https://codereview.chromium.org//1291543003 .
2015-08-17 14:48:04 +02:00
Florian Loitsch
09ac73acd4 Add type to BroadcastSubscriptionWrapper.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1289203005 .
2015-08-17 14:45:21 +02:00
Florian Loitsch
410b181e13 The return-value of 'asFuture' isn't necessarily related to the Stream's type.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1295843002 .
2015-08-17 14:44:31 +02:00
Florian Loitsch
6592391adf Update status file. Timers are not supported on jsshell.
Review URL: https://codereview.chromium.org//1301573002 .
2015-08-17 14:12:08 +02:00
Lasse R.H. Nielsen
1b8f3fba14 Make List constructor give better error messages for non-int arguments
BUG= http://dartbug.com/15986
R=herhut@google.com, iposva@google.com, sra@google.com

Committed: 33c7663826

Review URL: https://codereview.chromium.org//1214723009 .
2015-08-17 13:01:13 +02:00
Florian Loitsch
b161b5ab9a Reenable types that were disabled because of a bug in dart2js.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1294713003 .
2015-08-17 12:50:48 +02:00
Florian Loitsch
00aaf1708d Accept a computation that returns a Future for Future.delayed.
R=lrn@google.com

Review URL: https://codereview.chromium.org//1296623004 .
2015-08-17 11:34:43 +02:00
Kevin Millikin
b495fceef8 dart2js CPS: Fix a bug in commuting binary operations.
The Tree IR statement rewriter assumes both operands of a binary
operation are variable uses.  Either one of them could also be `this`.

BUG=
R=asgerf@google.com

Review URL: https://codereview.chromium.org//1284233003 .
2015-08-17 11:17:44 +02:00
Asger Feldthaus
01844e7bb0 dart2js cps: Compile some loops as 'for' loops.
BUG=
R=kmillikin@google.com

Committed: 296cb0b5b4

Review URL: https://codereview.chromium.org//1287253002 .
2015-08-17 10:52:35 +02:00
Johnni Winther
720e72428c Check for one-to-many source mappings.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//1287973002.
2015-08-17 09:57:57 +02:00
Florian Schneider
fee8daa5c5 VM: Materialize stub pc-markers (smi 0) eagerly on deoptimization.
Deferred objects are malloced, and there is no need to allocate one
for the stub pc-marker (smi zero).

This is also part of preparing for running precompiled stub code: when
changing the pc-marker to hold the stub's code object, we want to materialize
it eagerly, so that the stack frame is valid after DeoptimizeFillFrame.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1289243002 .
2015-08-17 09:57:12 +02:00
danrubel
e2f6739b44 tests for keyword/identifier replacementOffset - asserts fixes #23906 and fixes #23947
requires these CLs:
https://codereview.chromium.org/1281793004/
https://codereview.chromium.org/1287603003/

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1278033006 .
2015-08-15 15:18:03 -04:00
danrubel
65652fd5af (TBR) update analyzer version - related to #23947 (part 2)
Review URL: https://codereview.chromium.org//1288653003 .
2015-08-15 14:57:09 -04:00
danrubel
43f2f0a00d update analyzer version - related to #23947
and https://codereview.chromium.org/1281793004/

R=paulberry@google.com

Review URL: https://codereview.chromium.org//1287603003 .
2015-08-15 14:48:33 -04:00
danrubel
9af696a4f7 suggest prefixed constructors - fixes #23210
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1291283002 .
2015-08-14 20:33:12 -04:00
Ryan Macnak
38eb6cbd4f Store the RegExp and the string specialization cid in an Array in RawFunction::data_.
No change in Function size due to alignment round up.

R=regis@google.com

Review URL: https://codereview.chromium.org//1295973002 .
2015-08-14 16:01:10 -07:00
keertip
5abf4fef9c comment docgen test
BUG=

Review URL: https://codereview.chromium.org//1299533002 .
2015-08-14 15:32:46 -07:00
Natalie Weizenbaum
7c06881680 Bring in the latest Pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1293473003 .
2015-08-14 15:27:22 -07:00
John McCutchan
c0b6625d20 Correct inclusive time and start tracking maximum exclusive time
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1287073006 .
2015-08-14 14:47:28 -07:00
Ivan Posva
236b72be66 - Remove the from field from the the Scavenger class.
BUG=
R=koda@google.com

Review URL: https://codereview.chromium.org//1283093002 .
2015-08-14 13:24:13 -07:00
Florian Loitsch
f9d05b6e29 Fix names of map files in the startup emitter.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1295873002 .
2015-08-14 22:22:46 +02:00
keertip
f0b81a44bb comment out failing docgen test
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1299483002 .
2015-08-14 13:19:43 -07:00
Vijay Menon
ba4f9d8246 Add forwarding for DefaultFormalParameter metadata
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1287413003 .
2015-08-14 12:42:40 -07:00
keertip
fe05e7b905 update dartdoc, markdown in DEPS
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1284333004 .
2015-08-14 11:28:55 -07:00
John McCutchan
08cc68cc55 Add TimelinePauses analysis and tests
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1289113003 .
2015-08-14 11:11:59 -07:00
Ryan Macnak
954d6cac0f API bookkeeping.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1288923003 .
2015-08-14 10:37:48 -07:00
Ryan Macnak
294c6a47a4 Add ObjectPool tag for external labels. Use LoadExternalLabel for native calls and the predefined symbols table.
R=fschneider@google.com

Review URL: https://codereview.chromium.org//1295693002 .
2015-08-14 10:10:34 -07:00
Alan Knight
89b99e60bf Remove dart2js-specific annotations from childNodes
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org//1290263002 .
2015-08-14 09:32:45 -07:00