Commit graph

53 commits

Author SHA1 Message Date
Sigmund Cherem
91c8754a05 Preserve the original semantics in the poi tests.
R=het@google.com

Review URL: https://codereview.chromium.org/2016013002 .
2016-05-26 12:41:33 -07:00
Harry Terkelsen
9850a83bdb fix poi test
Fixes #26538

Review URL: https://codereview.chromium.org/2012233003 .
2016-05-26 11:01:12 -07:00
Sigmund Cherem
b741e3f0df Make CompilerTask independent of compiler.
Now this base class only has logic for measuring time.

R=het@google.com, johnniwinther@google.com

Review URL: https://codereview.chromium.org/2000323006 .
2016-05-25 09:11:08 -07:00
Ivan Posva
a8d69698b6 - Fix use of Platform.packageRoot.
BUG=

Review URL: https://codereview.chromium.org/1536873002 .
2015-12-17 14:20:51 -08:00
Johnni Winther
f2b7b06bb9 Fix try
BUG=

Review URL: https://codereview.chromium.org//1376413002.
2015-10-01 12:24:38 +02:00
Johnni Winther
a158723177 Fix try (again!)
BUG=

Review URL: https://codereview.chromium.org//1341253002.
2015-09-15 10:28:51 +02:00
Johnni Winther
d6db26f912 Split parser/listener.dart, parser/class_element_listener.dart and tokens/token.dart into smaller libraries
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1311783012.
2015-09-02 15:55:19 +02:00
Johnni Winther
ee54b9e3cd Move parser and token related libraries into their own subfolder.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1313073007.
2015-09-02 12:07:00 +02:00
Johnni Winther
f5a7be0c17 Split scannerlib.dart into several libraries.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1315483006.
2015-09-01 15:39:31 +02:00
Johnni Winther
a7c720f61b Remove dart2jslib.dart
dart2jslib.dart is deleted
compiler.dart is a library containing mainly Compiler
other parts of compiler.dart move according to the listing in https://codereview.chromium.org/1280343002/

R=sigmund@google.com

Review URL: https://codereview.chromium.org//1284593003.
2015-08-12 08:42:46 +02:00
Johnni Winther
f9ea40f971 More fixes to try.
BUG=

Review URL: https://codereview.chromium.org//1268393004.
2015-08-11 10:08:33 +02:00
Johnni Winther
dab1aaae45 Move dart2jslib parts into separate libraries.
BUG=
R=karlklose@google.com, sigmund@google.com

Committed: 4474acf36b

Reverted: 5af4843432

Review URL: https://codereview.chromium.org//1284673003.
2015-08-11 09:56:49 +02:00
sigmund@google.com
41a675b771 Fix other tests in 'try' after elementvisitor changes
TBR=sra@google.com,johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45323 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-21 22:23:39 +00:00
ahe@google.com
31e791cee5 Refactor LibraryUpdater to prepare for parts.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42384 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-16 12:13:09 +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
ahe@google.com
f3c3afe74d Various clean up.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41991 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 12:44:17 +00:00
ahe@google.com
94056f00b2 Remove debugging code
Review URL: https://codereview.chromium.org//755253002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41957 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 15:24:03 +00:00
ahe@google.com
97f809bdc1 Use serialized scope info to test incremental compiler.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41955 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 14:47:27 +00:00
ahe@google.com
1441fe2d76 Include reasons for failing in StateError.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41625 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 10:51:56 +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
ahe@google.com
b872f5e260 Compute an incremental patch to JavaScript code.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41011 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 12:57:08 +00:00
ahe@google.com
f718e2566c Compile only functions that have changed.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40935 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-06 15:57:51 +00:00
ahe@google.com
6701b708a7 Count number of iterations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40934 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-06 15:40:54 +00:00
ahe@google.com
e63e0d59fb Add --compile option to poi.dart.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40933 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-06 15:28:23 +00:00
ahe@google.com
74d0db69f0 More timing in poi.dart.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40921 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-06 11:58:16 +00:00
ahe@google.com
0d3387e080 Add PoiTask to better measure timing.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40920 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-06 11:50:01 +00:00
ahe@google.com
8a1633f3b9 Truncate verbose source print.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40898 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-03 15:47:19 +00:00
ahe@google.com
c833f7b848 Clean up imports.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40896 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-03 12:18:39 +00:00
ahe@google.com
b3fdcc62af Remove unused import and make Makefile more flexible
Review URL: https://codereview.chromium.org//611313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40808 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-30 12:15:06 +00:00
ahe@google.com
e01b18c30c Introduce LibraryUpdater.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40764 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 12:01:43 +00:00
ahe@google.com
071742be1e Clean up imports.
Also, add a newline to post-processed analyzer output to improve readability on small screens.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40584 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 07:49:09 +00:00
ahe@google.com
26d655f2ca Move diff.dart to dart2js_incremental.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40317 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 13:45:48 +00:00
ahe@google.com
a3e611d90a Add makefile to run analyzer.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40316 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 12:41:17 +00:00
ahe@google.com
d9e6284de3 Add ElementX.declarationSite.
BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40314 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 12:23:31 +00:00
ahe@google.com
94ff2b5820 Add LibraryLoader.resetAsync.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40311 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 11:15:06 +00:00
ahe@google.com
bcdb9192ec Make timings easier to spot in output.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40036 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 15:40:20 +00:00
ahe@google.com
583e063f00 Add --enable-dart-mind option to poi.dart.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40035 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 15:01:13 +00:00
ahe@google.com
b0be025587 Add verbose option to poi.dart.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40033 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 14:40:58 +00:00
ahe@google.com
7c6174ca47 Add --simulate-mutation option.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40031 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 14:32:52 +00:00
ahe@google.com
e9461777dd Support repeating poi.dart forever.
Useful for measuring performance, stress testing, and memory leak detection.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39961 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 13:22:53 +00:00
ahe@google.com
eadbb803ef Implement diff algorithm for libraries.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39551 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-26 13:01:36 +00:00
ahe@google.com
9dc7c26d99 Fix crash due to AbstractFieldElement.computeType.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39364 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-19 09:01:25 +00:00
ahe@google.com
c32b9a887d Use kinds "class side" and "instance side".
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39138 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 14:01:15 +00:00
ahe@google.com
124a5659c9 Serialize scopes according to semantic structure.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39137 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 13:54:23 +00:00
ahe@google.com
41e96fff4a Add type information.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39136 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 13:32:02 +00:00
ahe@google.com
c0f05dc0ab Use library name instead of filename.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39135 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 13:30:14 +00:00
ahe@google.com
31691a6ba4 Find token at position and query Dart Mind if identifier or keyword.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39134 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 13:27:27 +00:00
ahe@google.com
0eb97b728c Serialize scope information at point-of-interest.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38188 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 13:02:18 +00:00