vegorov@google.com
a34c19ccca
Adjust environments we attach to the block entries.
...
There were two bugs in the code:
- we did not ensure proper outer environment on block entries after inlining;
- we did not correct the 'after' environment for eager deopt
There is one bug still with the infrastructure: our deoptimization stub does *not* support eager deoptimization to the after deoptimization point.
I am leaving it like this for now, because we don't actually ever perform such deoptimization (i.e. even though we diligently attach these environments we don't actually use them in the instruction that can deopt).
R=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//784223006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42257 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 18:32:15 +00:00
paulberry@google.com
ec5cdd5c26
Fix sort order in engine.dart.
...
TBR=scheglov@google.com
Review URL: https://codereview.chromium.org//792093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42256 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 18:22:42 +00:00
jakemac@google.com
8baaaf9aa1
fix logic for detecting when in an auto-binding element
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//783393005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42254 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 18:05:54 +00:00
brianwilkerson@google.com
8e7dd100f1
Code clean-up
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//792053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42252 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 17:06:19 +00:00
whesse@google.com
7ba45adfab
Add MacOS content_shell download to homebrew formula update app.
...
BUG=dartbug.com/21717
R=ricow@google.com
Review URL: https://codereview.chromium.org//788043004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42251 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 17:04:32 +00:00
brianwilkerson@google.com
bdb6a6a61f
Instrument communications
...
R=danrubel@google.com , lukechurch@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//790063002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42250 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 16:48:08 +00:00
jwren@google.com
c82b826af1
New getter: FieldElement.isEnumConstant (Dart version of source)
...
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//790103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42249 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 16:20:49 +00:00
floitsch@google.com
79ae635658
dart2js: don't pass the supername to visitFields.
...
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//761483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42247 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 16:09:15 +00:00
zerny@google.com
0bfa80b5a5
Revert "Revert "Disable the irregexp backend.""
...
This reverts commit http://code.google.com/p/dart/source/detail?r=42240
Reason for revert: failures and timeouts on Dartium bots.
TBR=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//792853002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42246 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 15:38:10 +00:00
fschneider@google.com
ac89119791
Fix dead phis elimination.
...
When initially marking live phis, only mark those
with real (i.e. non-phi) uses as live so that cycles
are properly eliminated.
Add a pass after allocation sinking since it may
create additional dead phis.
R=vegorov@google.com
Review URL: https://codereview.chromium.org//790143002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42245 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 14:28:38 +00:00
ahe@google.com
c8d34f9611
Remove todo and add test progress status.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//767723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42244 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 14:21:18 +00:00
ahe@google.com
29356bf94a
Incremental compilation of new lazy statics.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//764023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42243 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 14:15:56 +00:00
zerny@google.com
d1f5aacd77
Revert "Disable the irregexp backend."
...
This reverts commit http://code.google.com/p/dart/source/detail?r=41999
R=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//774933009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42240 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 09:56:53 +00:00
zerny@google.com
50c9e72413
Clobber non-live temporaries on some paths involving a possible slow-path allocation.
...
R=vegorov@google.com
BUG=
Review URL: https://codereview.chromium.org//783103003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42239 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 09:51:18 +00:00
johnniwinther@google.com
a4eaf84c1d
Generate typedef node from the element.
...
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//764023005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42238 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 09:17:40 +00:00
johnniwinther@google.com
82e12821d0
Fix crash in typechecker
...
BUG=http://dartbug.com/21793
R=floitsch@google.com
Review URL: https://codereview.chromium.org//787753005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42236 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 08:29:32 +00:00
ahe@google.com
5a35c6fd0e
Incremental compiler: support optional arguments.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//740273003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42235 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 08:08:12 +00:00
scheglov@google.com
583b9447f5
Rollback r42232.
...
R=danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//785393003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42233 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 01:18:57 +00:00
scheglov@google.com
bd65677ec2
Comment out the function causing CPU burn up.
...
TBR
R=brianwilkerson@google.com , danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//793433004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42232 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 00:46:26 +00:00
nweiz@google.com
8e89586d5d
Fix scheduled_test's constraint on unittest.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//793493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42231 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 00:43:55 +00:00
hausner@google.com
8ece5c1b84
Allow Symbols in switch and maps
...
Allow Symbol literals (and const Symbol instances) as switch expression
and as key values in const Maps.
This implements the most recent Spec changes.
R=regis@google.com
Review URL: https://codereview.chromium.org//781203005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42230 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 00:24:07 +00:00
danrubel@google.com
e24f040b46
skip completion if client closed stream
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//774033003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42229 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 23:57:12 +00:00
danrubel@google.com
4247fe2550
bound the time waiting for analysis to complete
...
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//790743003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42228 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 23:54:06 +00:00
scheglov@google.com
897a446835
Sort Quick Fixes. Make lower priorities more relavant than higher.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//788983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42227 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 22:23:27 +00:00
nweiz@google.com
0871ea96ba
Restrict the version constraints on exported dependencies.
...
This avoids a versioning issue where an exported dependency adds a
feature and the exporting package's users' version constraints become
invalidated.
For example, suppose unittest 1.0.0 and matcher 1.0.0 exist. unittest
has the constraint "matcher: '>=1.0.0 <2.0.0'" and exports matcher.
Then matcher 1.1.0 is released with a new feature, and a user writes a
new package, mypkg, which uses that feature. As per common practice,
this package has the version constraint "unittest: '>=1.0.0 <2.0.0'"
and no constraint on matcher. This constraint allows matcher 1.0.0,
which doesn't support the new feature; this is a problem.
Under the new scheme, unittest would have the constraint "matcher:
'>=1.0.0 <1.1.0'". Then when matcher 1.1.0 is released, unittest 1.1.0
would be released as well with the constraint "marcher: '>=1.1.0
<1.2.0'".
The tight lower bound ensures that the constraint "unittest: '>=1.1.0
<2.0.0'" properly selects only versions of matcher that have features
available in the version the user is testing against. The tight upper
bound ensures that new features in a new version of matcher won't
become available in unittest without a version upgrade.
R=jmesserly@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//775413002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42223 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 21:35:23 +00:00
brianwilkerson@google.com
c2db2b8c0e
Fix the build
...
Review URL: https://codereview.chromium.org//792433005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42221 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 21:24:46 +00:00
brianwilkerson@google.com
0a8dc970d2
Hooks for instrumentation
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//787763004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42218 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 20:14:42 +00:00
paulberry@google.com
bd852d8d3e
Make completion tests handle exceptions during getSuggestions().
...
Previously, if an exception occurred during getSuggestions(), or the
future returned by it completed with an error, the completion test
would exit without calling tearDown().
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//787863003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42217 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 19:34:48 +00:00
regis@google.com
0fb9f43f32
Complete and clean up breakpoint support in all 3 debuggers embedded in MIPS,
...
ARM, and ARM64 simulators.
Implement the same debugging commands in all 3 simulators: stop_sim_at flag, bt,
p icount, break, del, unstop, etc...
R=zra@google.com
Review URL: https://codereview.chromium.org//789903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42216 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 19:26:26 +00:00
turnidge@google.com
92211b622a
Minor optimization in _GrowableList.removeAt.
...
BUG=
R=srdjan@google.com
Review URL: https://codereview.chromium.org//790873002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42214 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 19:11:41 +00:00
sra@google.com
7f162a49c4
Simplify dart2js StringBuffer constructor to be initializer-only.
...
The constructor is now small enough to always inline and the interpolation is usually constant-folded from the default argument, leading to the elimination of the silly looking store:
t1 = new P.StringBuffer("");
t1._contents = "";
-->
t1 = new P.StringBuffer("");
R=floitsch@google.com
Review URL: https://codereview.chromium.org//781223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42212 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 17:51:39 +00:00
paulberry@google.com
c0d348575c
Disable completion_test on debug builds (it times out).
...
TBR=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//792463004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42211 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 17:18:33 +00:00
paulberry@google.com
246112537b
Start running new completion tests.
...
R=brianwilkerson@google.com , danrubel@google.com
Review URL: https://codereview.chromium.org//781333003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42210 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 16:44:12 +00:00
floitsch@google.com
a5f3c39b21
Isolates: allow sending of arbitrary objects in dart2js.
...
BUG= http://dartbug.com/12628
BUG= http://dartbug.com/9245
R=lrn@google.com , sigurdm@google.com , sra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42161
Reverted: https://code.google.com/p/dart/source/detail?r=42206
Review URL: https://codereview.chromium.org//742873002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42209 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 16:41:58 +00:00
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
floitsch@google.com
67dff7ca30
Revert "Isolates: allow sending of arbitrary objects in dart2js."
...
This reverts commit r42161.
Revert "Update status file."
This reverts commit r42163.
Revert "Update test."
This reverts commit r42165.
Revert "Update status file."
This reverts commit r42166.
Review URL: https://codereview.chromium.org//791543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42206 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 13:25:23 +00:00
ahe@google.com
57285d2105
Incremental compilation handles indirectly instantiated classes.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//763083004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42205 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 13:06:58 +00:00
ahe@google.com
0aabd7080f
Add tests which doesn't yet pass.
...
Also make it easy to skip tests.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//759753009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42204 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 11:23:07 +00:00
sra@google.com
8abca9eb46
Bump pkg/fixnum version so we can pull r38680
...
R=kevmoo@google.com
Review URL: https://codereview.chromium.org//774463004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42203 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 04:03:58 +00:00
scheglov@google.com
495cb6d5bf
Issue 21801. Index redirecting constructor invocations.
...
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=21801
Review URL: https://codereview.chromium.org//783223003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42202 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 02:21:07 +00:00
scheglov@google.com
e30b2b313d
Ignore ButtonType when computing an extracted method return type.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//789543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42201 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 02:19:54 +00:00
srdjan@google.com
f95a58d882
Revert disabled test (r42196).
...
Review URL: https://codereview.chromium.org//786893002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42200 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 00:48:29 +00:00
srdjan@google.com
e718ae0eab
Disable failing 'with_test_environment_test' until investigated.
...
Review URL: https://codereview.chromium.org//790573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42196 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 23:03:22 +00:00
kevmoo@google.com
600bf9f771
pkg/unittest: fix test after last change
...
TBR
Review URL: https://codereview.chromium.org//750543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42195 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:50:21 +00:00
koda@google.com
b3998f8598
Try compiling JS again.
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org//784083003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42194 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:50:07 +00:00
iposva@google.com
602aad28a1
- Implement Isolate.ping.
...
- Allow isolate library messages to be enqueued at the beginning
of the message queue.
R=asiva@google.com
Review URL: https://codereview.chromium.org//749373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42193 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:45:10 +00:00
scheglov@google.com
3b73b01511
Issue 21740. Allow inlining local variables declared in SwitchCase.
...
R=paulberry@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=21740
Review URL: https://codereview.chromium.org//780653005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42191 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:33:07 +00:00
danrubel@google.com
f0bc442ea4
cache suggestions on change in priority sources
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//787663004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42189 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 22:00:16 +00:00
danrubel@google.com
dc9f446021
update computeFast/Full now that completion manager is long lived
...
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//758953003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42188 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 21:56:56 +00:00
nivco@google.com
7a2e37d5ce
Instead of Throwing an error when setting the unittest config if it has already been set we'll just display a warning.
...
https://codereview.chromium.org/772463003/
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42187 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 21:46:29 +00:00