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
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
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
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
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
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
hausner@google.com
392db8d312
Implement correct semantics of Boolean Conversion
...
When converting null to a boolean value, throw an AssertionError
rather than a TypeError.
This is the same change as r42145, with added co19 status updates.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//779253003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42170 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 18:51:48 +00:00
floitsch@google.com
11d93b2ec6
Update status file.
...
Review URL: https://codereview.chromium.org//784933002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42166 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 16:10:39 +00:00
floitsch@google.com
dc062cc0e1
Update test.
...
Now that dart2js can send arbitrary objects, this test went through a different route, where it encountered non-zero timers. These are not supported for jsshell.
I rewrote the test not to use a timer, but wait for a reply from the spawned isolate instead.
Review URL: https://codereview.chromium.org//789503002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42165 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:13:57 +00:00
asgerf@google.com
cc4d2af55d
Refactored treatment of closure variables in dart2js CPS.
...
Closure variables are now represented by a ClosureVariable object.
Previously they were identified by a LocalElement.
Parameters to a FunctionDefinition are now a mix of Parameter and
ClosureVariable. FunctionDefinitions also have a list of all the closure
variables they declare.
This change is a step toward supporting field initializers that modify or
capture function parameters.
BUG=
R=johnniwinther@google.com , sigurdm@google.com
Review URL: https://codereview.chromium.org//756383004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42164 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:06:23 +00:00
floitsch@google.com
398fecf429
Update status file.
...
Review URL: https://codereview.chromium.org//785963002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42163 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:04:24 +00:00
floitsch@google.com
c115b77640
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
Review URL: https://codereview.chromium.org//742873002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42161 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 13:28:29 +00:00
herhut@google.com
60b2a64717
Mark empty HashMap constructor as NoThrows.
...
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//769533003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42158 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 10:40:15 +00:00
regis@google.com
953c735532
Enable more tests on MIPS.
...
R=zra@google.com
Review URL: https://codereview.chromium.org//778223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42149 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 21:40:05 +00:00
hausner@google.com
4cfdf02012
Revert r42145 to fix co19 tests
...
Review URL: https://codereview.chromium.org//772513003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42148 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 21:05:38 +00:00
hausner@google.com
ad837a0d9f
Implement correct semantics of Boolean Conversion
...
When converting null to a boolean value, throw an AssertionError
rather than a TypeError.
Fixes issue 21279.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//778063002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42145 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 20:36:37 +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
regis@google.com
1757888022
Implement mint unboxing on MIPS.
...
R=zra@google.com
Review URL: https://codereview.chromium.org//777943003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42138 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 18:27:37 +00:00
johnniwinther@google.com
36311bd2d0
Reenable check_elements_invariants_test
...
BUG=http://dartbug.com/21452
R=karlklose@google.com
Review URL: https://codereview.chromium.org//686023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42131 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 09:08:12 +00:00
jakemac@google.com
8fde04e0ba
mark public package dependencies test as failing since web_components isn 't yet published
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//778923004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42118 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 21:24:10 +00:00
ricow@google.com
2323df0dab
Import tools/testing/dart/path.dart in tests that used to get this through utils.dart
...
Review URL: https://codereview.chromium.org//780503004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42111 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 16:23:45 +00:00
whesse@google.com
7254f7b649
Update status for Firefox 34.
...
BUG=dartbug.com/21787, dartbug.com/21526
R=ricow@google.com
Review URL: https://codereview.chromium.org//752173007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42107 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 15:17:59 +00:00
iposva@google.com
320ffa23a1
- Implement hashCode and == for Capability.
...
R=lrn@google.com
Review URL: https://codereview.chromium.org//778983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42102 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 12:17:48 +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
sra@google.com
01b3346d7c
Always generate the checkBigInt (Math.floor(x) == x) test for int receiver type checks and argument type checks, since the int32 tests don't make sense in the absence of bailouts.
...
Also remove dead code for checks that are no longer generated.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//763883004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42088 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 18:34:43 +00:00
lrn@google.com
a3c7e0a0d9
Fix date_time_test to not assume a particular slowness of running code.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//759753010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42083 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 07:19:49 +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
sigurdm@google.com
d943cfb9e0
Remove js.ArrayElement.
...
Instead introduce js.ArrayHole to mark empty spots in Arrays.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//750323003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42060 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-02 09:28:26 +00:00
karlklose@google.com
c148959eb1
Add a test to test that substitutions are emitted for classes that are only used as type arguments.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//771673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42059 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-02 09:01:10 +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
johnniwinther@google.com
4ff78cf3c6
Support top-level field declaration and assignment in analyzer2dart.
...
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//762213002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42043 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 14:23:19 +00:00
ahe@google.com
590e8b06a2
Incremental compiler: Use addStubs for adding methods.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//764533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42042 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 14:11:34 +00:00
herhut@google.com
a69a6d49f1
Filter out calls to local functions whose signature does not apply.
...
BUG= http://dartbug.com/21724
R=karlklose@google.com
Review URL: https://codereview.chromium.org//739453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42040 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 14:01:18 +00:00
ahe@google.com
37a31f6bc4
Always enable RTI for incremental compilation.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//755223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42036 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 10:31:26 +00:00
sigurdm@google.com
e8f775b2e5
Support for map literals in cps js emitter
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//761983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42029 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-28 12:07:38 +00:00
floitsch@google.com
18ded35fa2
dart2js: Make usage of names more consistent between compiler and runtime.
...
R=karlklose@google.com
Review URL: https://codereview.chromium.org//767643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42025 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-28 10:40:28 +00:00
sigurdm@google.com
8f44815438
Add support for (unintercepted) method calls to the cps js emitter.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//768553002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42022 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-27 14:53:59 +00:00
karlklose@google.com
3d2514c304
Refactor the CPS SExprStringifier.
...
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//765753002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42015 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-27 12:27:00 +00:00
sigurdm@google.com
bd32bef1d5
Invoking constructors in js cps
...
R=karlklose@google.com
Review URL: https://codereview.chromium.org//764593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42014 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-27 07:57:59 +00:00
regis@google.com
a17adcd1de
Fix overflow check when shifting unboxed mints on 32-bit platforms, except on
...
MIPS, which does not yet support unboxed mints (work in progress). Issue 21715.
Add regression test.
R=zra@google.com
Review URL: https://codereview.chromium.org//755383002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42003 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 17:36:32 +00:00
zerny@google.com
487ca247d7
Disable the irregexp backend.
...
Currently the use of irregexp breaks the Dartium build.
TBR=vegorov@google.com
BUG=
Review URL: https://codereview.chromium.org//757303002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41999 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 16:21:08 +00:00