Commit Graph

13522 Commits

Author SHA1 Message Date
Johnni Winther 0a79576ed0 Move towards using WorldImpact for codegen
CustomElementsAnalysis, TypeVariableHandler, LookupAnalysis and metadata
constants no longer require a [Registry] but instead collect their impact.

R=het@google.com

Review URL: https://codereview.chromium.org/2349163003 .
2016-09-21 12:31:38 +02:00
Johnni Winther aafbaf15c3 Undo dartfmt in multitest.
Review URL: https://codereview.chromium.org/2352343002 .
2016-09-21 11:49:47 +02:00
Johnni Winther ca3c2882ae Introduce OpenWorld.
R=het@google.com

Review URL: https://codereview.chromium.org/2320583002 .
2016-09-21 11:48:10 +02:00
Johnni Winther b7d424f6fd Handle local functions in kernel_impact.
R=het@google.com

Review URL: https://codereview.chromium.org/2359453002 .
2016-09-21 11:18:03 +02:00
Johnni Winther 614cde5b1c Split World usage into open, inference, and closed world.
This is a step towards separating the backend element model from the frontend model.

Main changes in world.dart.

R=het@google.com

Review URL: https://codereview.chromium.org/2314703002 .
2016-09-21 10:54:34 +02:00
Johnni Winther 7ea9f8b8bc Handle string interpolation/juxtaposition in kernel_impact.
R=het@google.com

Review URL: https://codereview.chromium.org/2357433003 .
2016-09-21 10:44:57 +02:00
Stephen Adams 3d9bbdaa9a dart2js load elimination: Look through refinements for locations
We have to look through the refinements (via .nonCheck()) for locations in order to avoid mistaking two different refinements for two separate locations.

R=het@google.com

Review URL: https://codereview.chromium.org/1459273002 .
2016-09-20 16:12:55 -07:00
Harry Terkelsen 636084afa2 kernel->ssa: implement top-level getters and setters
See https://github.com/dart-lang/sdk/issues/27394

R=johnniwinther@google.com

Review URL: https://codereview.chromium.org/2353793002 .
2016-09-20 10:18:08 -07:00
William Hesse 80572c4038 Update status for browser tests
BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2358583002 .
2016-09-20 16:36:01 +02:00
Regis Crelier 11562f6874 Support generic method syntax (fixes #25869).
Function type parameters are parsed and resolved, but mapped to malformed types
(i.e. dynamic) until full support is implemented.

R=hausner@google.com

Review URL: https://codereview.chromium.org/2349593003 .
2016-09-19 15:17:33 -07:00
Ryan Macnak 38a68ec544 Update status file for tests newly dependent on dart:mirrors.
Remove skip of removed tests.

TBR=whesse@google.com

Review URL: https://codereview.chromium.org/2350173004 .
2016-09-19 13:21:06 -07:00
William Hesse 66b5248bf9 standalone/addlatexhash test is passing, update status
TBR=eernst@google.com
BUG=

Review URL: https://codereview.chromium.org/2353583002 .
2016-09-19 19:10:31 +02:00
Johnni Winther e24939f8d6 Handle generic factory constructors in kernel_impact
R=het@google.com

Review URL: https://codereview.chromium.org/2341263002 .
2016-09-19 11:35:56 +02:00
Harry Terkelsen 2470d57d0e dart2js: undo formatting for super long vectors
Review URL: https://codereview.chromium.org/2350493002 .
2016-09-16 15:59:01 -07:00
Harry Terkelsen 3d31aa2ff7 dart2js: run dartfmt on tests
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2345083003 .
2016-09-16 15:49:23 -07:00
William Hesse 338e7e25f3 Update status after package root removal
BUG=https://github.com/dart-lang/sdk/issues/27378

Committed: https://github.com/dart-lang/sdk/commit/82c24568d461fa76f6a3a3df97c883b4903c9ef4

Reopened to add new commit, fixing CL

Review URL: https://codereview.chromium.org/2347303002 .
2016-09-17 00:22:17 +02:00
William Hesse 82c24568d4 Update status after package root removal
BUG=https://github.com/dart-lang/sdk/issues/27378

Review URL: https://codereview.chromium.org/2347303002 .
2016-09-16 23:46:06 +02:00
Harry Terkelsen 67ab213718 dart2js: fix tests after moving to .packages in the SDK repo
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2346053002 .
2016-09-16 12:07:31 -07:00
William Hesse 61eee9ee52 Use checked-in .package file for building and testing
Stop creating [build dir]/packages directory with symbolic links.

BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com

Committed: https://github.com/dart-lang/sdk/commit/5d3e356ca75be8aeff3efde5df946d746b9f8352

Review URL: https://codereview.chromium.org/1746743002 .

Reverted: https://github.com/dart-lang/sdk/commit/6d238ba197c8bda71afe790f16f6e9adaf7abd13
2016-09-16 15:03:18 +02:00
Johnni Winther 4eca725670 More features handled in kernel impact.
BUG=
R=het@google.com

Review URL: https://codereview.chromium.org/2329403003 .
2016-09-16 12:52:47 +02:00
Johnni Winther 6e62b8af9a Handle signature types and fields in kernel_impact
R=het@google.com

Review URL: https://codereview.chromium.org/2331923002 .
2016-09-16 12:43:41 +02:00
Terry Lucas 79f406443d Update status for expected failures in Dartium.
TBR=whesse@google.com

Review URL: https://codereview.chromium.org/2341653005 .
2016-09-15 09:38:55 -07:00
William Hesse 6d238ba197 Revert "Use checked-in .package file for building and testing"
This reverts commit 5d3e356ca7.

BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2340813004 .
2016-09-15 15:46:49 +02:00
William Hesse 5d3e356ca7 Use checked-in .package file for building and testing
Stop creating [build dir]/packages directory with symbolic links.

BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/1746743002 .
2016-09-15 14:50:30 +02:00
Stephen Adams 591f8ea79e Avoid merging conditions across lopp boundary
Fixes https://github.com/dart-lang/sdk/issues/27354

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2339853004 .
2016-09-14 17:08:39 -07:00
Harry Terkelsen 076f4c30c9 kernel -> ssa: implement literal maps
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2335203005 .
2016-09-14 16:59:30 -07:00
Harry Terkelsen a175f914c2 mark dart2js kernel tests as slow
since we have to build all of dart:core for every test, it can take
a long time

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2339703004 .
2016-09-14 13:08:01 -07:00
Harry Terkelsen 866e4ea550 kernel -> ssa: implement literal lists
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2346543002 .
2016-09-14 11:26:26 -07:00
Harry Terkelsen 8be34ddd39 Build entire program with kernel for conversion to ssa.
This CL has the kernel task of the backend building the entire program.
This causes the compiler to resolve a lot more than usual, and so we need
to support many language features in the kernel -> ssa builder to compile
all of the helper functions that are included in the output.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2338093002 .
2016-09-14 09:42:23 -07:00
Florian Schneider c134873651 Hot reload testing: Mark slow some tests as Pass, Timeout
These are similar to the other collection tests that take too long in
hot-reload test mode.

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2343483002 .
2016-09-14 09:34:45 -07:00
Matthias Hausner 3e60d48842 Fix parsing of generic closure formal parameter
BUG=#27299
R=regis@google.com

Review URL: https://codereview.chromium.org/2341493002 .
2016-09-13 15:11:10 -07:00
Regis Crelier 69a66ef6ca Update dart2js status file for recently added test.
Review URL: https://codereview.chromium.org/2336333002 .
2016-09-13 10:54:33 -07:00
Regis Crelier 4634faa574 Add new language test for generic function parameter (filed issue #27299).
R=hausner@google.com

Review URL: https://codereview.chromium.org/2333973002 .
2016-09-13 09:24:57 -07:00
William Hesse 51d7bf58e4 Update co19 status for content_shell
BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2338783002 .
2016-09-13 14:54:30 +02:00
Lasse R.H. Nielsen 64e863a5cf Mark new tests using deferred imports as crashing with hot reload.
Review URL: https://codereview.chromium.org/2335933004 .
2016-09-13 11:41:43 +02:00
Lasse R.H. Nielsen bcdf0a1f12 Make dart2js not consider dart:io there if the library is unsupported.
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2321973002 .
2016-09-13 09:21:54 +02:00
Brian Wilkerson a5ee525e14 Add support for accessing field formal parameters in the initializer list of constructors
R=scheglov@google.com

Review URL: https://codereview.chromium.org/2335693002 .
2016-09-12 09:48:34 -07:00
William Hesse b5462caf64 Update co19 status for jsshell.
BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2330083002 .
2016-09-12 17:58:51 +02:00
William Hesse 87ff346d2b Update co19 status for chrome and firefox.
BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2332823002 .
2016-09-12 17:20:21 +02:00
Florian Loitsch 899891e5c5 Update tests.
Tests were testing the output of the async/await transformation which got a fix in 0683f81979 (https://codereview.chromium.org/2322323002 ),not passing an unnecessary additional argument.

Fixes #27295.

R=sigurdm@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/2335583003 .
2016-09-12 15:09:52 +02:00
William Hesse 4090e4ad90 Update co19 status for dart2js d8 and jsshell.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2333683002 .
2016-09-12 13:27:00 +02:00
Brian Wilkerson fa1b80fd82 Remove references to deprecated code
R=scheglov@google.com

Review URL: https://codereview.chromium.org/2331743002 .
2016-09-10 11:28:43 -07:00
Harry Terkelsen 53870d1914 build kernel for the entire program after resolution
Rasta needs to have access to elements that aren't resolved by normal
dart2js. We need to let it add elements to the resolution queue so
it can get all the information it needs.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2324213003 .
2016-09-09 16:06:22 -07:00
William Hesse 023edb6806 Revert "Update co19 to revision d4767b4caea3c5828ad8e053cd051d44a59061af"
This reverts commit d08c2b967b.

BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2300543004 .
2016-09-09 12:46:20 +02:00
Johnni Winther 8bdf7ab425 Compute ResolutionImpact directly from kernel, part 1 of ?
R=het@google.com

Review URL: https://codereview.chromium.org/2323733002 .
2016-09-09 09:24:47 +02:00
Johnni Winther 7f4c3675aa Skip interop tests.
Review URL: https://codereview.chromium.org/2322913002 .
2016-09-08 09:22:25 +02:00
Johnni Winther 18d6c38ac6 Fix tests to avoid analyzer warnings.
Review URL: https://codereview.chromium.org/2320593002 .
2016-09-07 13:46:00 +02:00
Johnni Winther b358d062c2 Fix type masks for js-interop types.
Type-masks for js-interop types are replaced by `subtype/subclass of JavaScriptObject`.

Closes #24822

R=jacobr@google.com

Review URL: https://codereview.chromium.org/2307883002 .
2016-09-07 10:42:45 +02:00
Sigmund Cherem 2503bab254 Refactor how we read global-type-inference data from ssa
R=het@google.com

Review URL: https://codereview.chromium.org/2305623004 .

Committed: https://github.com/dart-lang/sdk/commit/a319239145fc65ba237489061f1a173fc42914f9
2016-09-06 09:07:25 -07:00
Florian Loitsch 70c48b9a2e Don't propagate synchronous Future.wait errors immediately.
Fixes #27249.

R=lrn@google.com

Review URL: https://codereview.chromium.org/2311923002 .
2016-09-06 11:57:43 +02:00