sigurdm@google.com
|
a7521092ae
|
Fix enabling of the new dart backend
R=karlklose@google.com
Review URL: https://codereview.chromium.org//737713004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41802 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-18 14:08:44 +00:00 |
|
sigurdm@google.com
|
ae6d7d809a
|
Add support for static calls to the cps pipeline code generator.
Applies on top of https://codereview.chromium.org/716823002/
R=floitsch@google.com
Review URL: https://codereview.chromium.org//722163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41800 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-18 13:07:58 +00:00 |
|
johnniwinther@google.com
|
88f31815f2
|
Check enums in switch cases.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//710343002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41796 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-18 10:09:10 +00:00 |
|
herhut@google.com
|
c0c2bd0683
|
Compute more accurate bound on expected work when tracing.
BUG=
R=floitsch@google.com, sra@google.com
Review URL: https://codereview.chromium.org//726383003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41795 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-18 09:39:02 +00:00 |
|
karlklose@google.com
|
9d4dd51193
|
Add missing file from last commit.
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//734063003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41783 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 16:15:24 +00:00 |
|
karlklose@google.com
|
1770beec7f
|
cps-ir: Add a test for codegeneration.
This CL includes CL 723493002 and adds a test case for it.
R=floitsch@google.com, sigurdm@google.com
Review URL: https://codereview.chromium.org//733053004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41782 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 16:11:17 +00:00 |
|
karlklose@google.com
|
abbc0c03e1
|
Only use fallback compiler for platform functions.
This will allow us to write tests for the compilation until we have a test setup for the full test suite.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//718043004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41781 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 15:52:51 +00:00 |
|
karlklose@google.com
|
639d56944c
|
cps-ir: Split up main codegen and add a bailout exception to print out more information.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//731503002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41780 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 15:47:50 +00:00 |
|
ahe@google.com
|
b4c3b7a8b8
|
Documentation to follow up on CLs 714843002 and 719443002.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//730013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41773 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 12:14:32 +00:00 |
|
ahe@google.com
|
5b6f61912d
|
Don't restrict type on Setlet.remove.
Review URL: https://codereview.chromium.org//730023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41772 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 10:46:47 +00:00 |
|
ahe@google.com
|
1ff15a79b1
|
Forget aliasedSuperMembers.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//710043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41770 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 10:05:07 +00:00 |
|
ahe@google.com
|
1e9928766c
|
Incremental compilation: set up inheritance.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//719443002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41769 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 09:56:14 +00:00 |
|
ahe@google.com
|
96d8115f02
|
Disable source maps completely.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//710173005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41768 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 09:55:22 +00:00 |
|
ahe@google.com
|
1eaba69be2
|
Implement removal of overridden instance methods.
Method not actually removed by patch, but super calls to the method are
identified and patched.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//701133003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41763 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-17 09:49:58 +00:00 |
|
herhut@google.com
|
bb24b41236
|
Make better use of one-letter names when minifying.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//723063003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41731 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-14 08:46:51 +00:00 |
|
floitsch@google.com
|
021b7412fc
|
Revert "dart2js: simplify ssa-generate constant."
This reverts commit r41715.
Review URL: https://codereview.chromium.org//724093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41720 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-13 16:38:39 +00:00 |
|
sigurdm@google.com
|
c8c308bbf7
|
Set up a stub pipline for using the new cps-based ir to generate js.
The code is only activated when enabling
environment variable USE_CPS_IR.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//716823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41716 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-13 14:57:33 +00:00 |
|
floitsch@google.com
|
206603431b
|
dart2js: simplify ssa-generate constant.
The registry was already doing the work that was in generateConstant.
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//721093003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41715 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-13 14:40:12 +00:00 |
|
floitsch@google.com
|
c1d34a1234
|
dart2js: Don't emit additional precompiled file.
R=johnniwinther@google.com, rnystrom@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41657
Reverted: https://code.google.com/p/dart/source/detail?r=41659
Review URL: https://codereview.chromium.org//700123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41711 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-13 12:15:53 +00:00 |
|
johnniwinther@google.com
|
43bc55bcfd
|
Replace ResolvedNode by ConstantExpression.
BUG=http://dartbug.com/21493
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//716913005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41709 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-13 10:22:30 +00:00 |
|
floitsch@google.com
|
fa10f0b77d
|
Revert "Emit warning on import of dart:mirrors."
This reverts commit r41688.
Review URL: https://codereview.chromium.org//717103004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41692 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-12 15:28:40 +00:00 |
|
herhut@google.com
|
0970d6a2f9
|
Avoid emmitting is test for Function if superclass already has it.
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//723523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41690 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-12 14:38:57 +00:00 |
|
johnniwinther@google.com
|
88c7dfa8f7
|
Emit warning on import of dart:mirrors.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//588183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41688 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-12 13:19:59 +00:00 |
|
johnniwinther@google.com
|
8fe2fc93aa
|
Update enum encoding to latest spec.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//718703002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41685 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-12 08:06:52 +00:00 |
|
sra@google.com
|
21faca5061
|
--trust-primitives: Remove bounds checks and receiver and argument type checks
The model is that if your program is tested and never
- has a bounds error on a primitive array
- tries to do arithmetic on null
then when compiled with --trust-primitive it will produce the same
answer, but with smaller and faster code.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//703083002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41682 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-12 02:31:36 +00:00 |
|
johnniwinther@google.com
|
dd75144822
|
Add compile-time errors for enums.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//709603003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41663 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-11 12:58:42 +00:00 |
|
floitsch@google.com
|
5f944a56da
|
Revert "dart2js: Don't emit additional precompiled file."
This reverts commit r41657.
Review URL: https://codereview.chromium.org//689633007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41659 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-11 10:20:28 +00:00 |
|
floitsch@google.com
|
8edab4fba5
|
dart2js: Don't emit additional precompiled file.
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//700123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41657 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-11 09:47:08 +00:00 |
|
johnniwinther@google.com
|
0b394b0f2e
|
Support enums in dart2js.
- still missing warnings/errors.
BUG=https://code.google.com/p/dart/issues/detail?id=21417
R=floitsch@google.com
Review URL: https://codereview.chromium.org//707463003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41654 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-11 08:28:32 +00:00 |
|
floitsch@google.com
|
b07b2ce66a
|
dart2js: Trust type annotations more often with --trust-type-annotation.
R=sra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41636
Reverted: https://code.google.com/p/dart/source/detail?r=41637
Review URL: https://codereview.chromium.org//707493003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41639 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-10 16:53:44 +00:00 |
|
floitsch@google.com
|
c265e061e2
|
Revert "dart2js: Trust type annotations more often with --trust-type-annotation."
This reverts commit r41636.
Review URL: https://codereview.chromium.org//712093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41637 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-10 16:20:34 +00:00 |
|
floitsch@google.com
|
85973b4ae6
|
dart2js: Trust type annotations more often with --trust-type-annotation.
R=sra@google.com
Review URL: https://codereview.chromium.org//707493003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41636 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-10 15:50:14 +00:00 |
|
sigurdm@google.com
|
f2e2784cea
|
Deferred hunks had a . too much in their file names.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//639333002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41634 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-10 13:45:35 +00:00 |
|
sigurdm@google.com
|
bab7073aff
|
Support for labels in non-loop code in new dart backend
Still no support for `switch`
R=kmillikin@google.com
Review URL: https://codereview.chromium.org//688663002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41631 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-10 13:26:08 +00:00 |
|
floitsch@google.com
|
ddd95b1c5a
|
dart2js: Use type-checks in later operations.
We correctly GVNed type-checks (in checked mode), but we didn't always use the checks in later operations.
R=herhut@google.com
Review URL: https://codereview.chromium.org//699593004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41605 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-07 13:58:23 +00:00 |
|
kmillikin@google.com
|
1373b7a53d
|
Revert "Revert "dart2js: Add a type parameter to class Reference....""
This reapplies svn commit r41564, with fixes to the dart2js intermediate
representation (IR) tests. The tests explicitly construct IR expressions
and so need to be updated. Some of the tests are currently invalid
expressions, which have been removed.
BUG=
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//708993003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41603 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-07 13:21:53 +00:00 |
|
floitsch@google.com
|
16c99200c3
|
dart2js: Accept named holes in js-templates.
R=sigurdm@google.com, sra@google.com
Review URL: https://codereview.chromium.org//671513013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41601 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-07 12:45:33 +00:00 |
|
johnniwinther@google.com
|
6e6362efd4
|
Support local functions in analyzer2dart.
BUG=
R=paulberry@google.com, sigurdm@google.com
Review URL: https://codereview.chromium.org//701123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41600 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-07 12:33:35 +00:00 |
|
johnniwinther@google.com
|
c8cc5451d3
|
Support parsing of enums in dart2js.
Revived from https://codereview.chromium.org/282453004
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//698563005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41595 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-07 09:34:56 +00:00 |
|
floitsch@google.com
|
8ee3e22c44
|
Revert "dart2js: Add a type parameter to class Reference in the CPS IR."
This reverts commit r41564.
Review URL: https://codereview.chromium.org//708793002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41565 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 16:24:34 +00:00 |
|
kmillikin@google.com
|
7c983e8477
|
dart2js: Add a type parameter to class Reference in the CPS IR.
It's useful to know when references are to continuations or primitives,
and to avoid mixing them --- currently, continuations are not
first-class and cannot appear where a primitive is expected and vice
versa.
BUG=
R=johnniwinther@google.com, karlklose@google.com, sigurdm@google.com
Review URL: https://codereview.chromium.org//705023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41564 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 15:49:52 +00:00 |
|
herhut@google.com
|
a1d4736699
|
Revert "Drop trailing null arguments in generated JS."
This reverts revision 41555.
BUG=
TBR=sigurdm@google.com
Review URL: https://codereview.chromium.org//702423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41560 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 14:18:07 +00:00 |
|
sigurdm@google.com
|
13d5728d47
|
Avoid resetting collectors when calling finnishClasses from deferred.
I would love to add a test to this cl, but have not been
able to reduce the example given in the bug report.
BUG= dartbug.com/21382
R=floitsch@google.com
Review URL: https://codereview.chromium.org//705023003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41556 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 13:29:03 +00:00 |
|
herhut@google.com
|
ff1a6b9bc5
|
Drop trailing null arguments in generated JS.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//575013002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41555 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 13:18:56 +00:00 |
|
herhut@google.com
|
c072714d55
|
Encode super calls via extra properties on prototypes.
BUG=
R=floitsch@google.com, sra@google.com
Review URL: https://codereview.chromium.org//693883003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41550 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-06 12:19:47 +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 |
|