Commit Graph

50 Commits

Author SHA1 Message Date
Harry Terkelsen 1745ba77f5 fix all instances of "the the"
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07: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
ahe@google.com 34512168d9 Rename $dart_unsafe_eval to $dart_unsafe_incremental_support.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43061 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 09:50:07 +00:00
johnniwinther@google.com a2dddc825a Remove Compiler.assembledCode.
BUG=
R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=42592

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42623 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 11:06:23 +00:00
ahe@google.com 671505c424 More tests of incremental compilation involving multiple libraries.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42508 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 14:44:38 +00:00
ahe@google.com a7b3af240e Incremental compilation of libraries with multiple parts.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42506 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 13:43:54 +00:00
ahe@google.com efb718eb6b Incremental compiler detects when library graph changes.
Also, don't suppress all exceptions as it hid errors in the test.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42505 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 13:13:23 +00:00
ahe@google.com 78ce55235d Implement incremental tests with multiple files.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42459 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 15:00:56 +00:00
ahe@google.com 1fb12c24a7 Avoid repeating common parts of ProgramResults.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42387 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-16 13:05:01 +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 38426b52c5 Incremental compilation: test giving up.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42317 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-12 13:05:58 +00:00
ahe@google.com 21898d5c49 Incremental compilation: correctly track emitted constants.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42314 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-12 11:46:51 +00:00
ahe@google.com 87e0408a49 Test compound constants and constants of new classes.
For now, one of the tests is failing.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42311 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-12 08:15:48 +00:00
ahe@google.com bac6f56a2c Add tests regarding fields.
For now, the tests are failing.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42310 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-12 08:14:09 +00:00
ahe@google.com 45b6278167 Incremental compilation of constants.
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42283 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-11 13:21:48 +00:00
ahe@google.com aaa9d916ef Track emitted classes in incremental compiler.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42282 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-11 13:12:49 +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
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 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
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
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
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 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 b3fb7617a4 Incremental compilation of removed fields.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41953 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 14:14:01 +00:00
ahe@google.com 046c833b95 Cache HttpRequest in test.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41952 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 13:55:24 +00:00
ahe@google.com f01fe227e0 Checked mode fixes.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41951 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 13:52:58 +00:00
ahe@google.com 74a8e90d0e Address comments from CL 739513002.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41907 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 16:13:48 +00:00
ahe@google.com 3e8b1cc1f4 Incremental compilation of added instance fields.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41905 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 15:52:40 +00:00
ahe@google.com 2f62f72307 Incremental compilation of superclass change.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41891 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 10:11:35 +00:00
ahe@google.com 48f71c2886 Incremental compilation of removed class.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41888 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 09:59:19 +00:00
ahe@google.com e3128327a4 Incremental compilation of added class.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41887 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 09:57:35 +00:00
ahe@google.com f70185d648 Implement adding methods.
This makes it possible to implement signature changes as remove followed by add.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41886 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 09:54:00 +00:00
ahe@google.com c5078a0b2f Incremental compilation of new classes with fields.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41825 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-19 09:52:17 +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 98ed92c537 Incremental compilation of newly instantiated classes.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41767 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 09:54:26 +00:00
ahe@google.com 4f7f816440 Add test for removing static method.
Also add line numbers to code.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41766 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 09:52:52 +00:00
ahe@google.com 091b004f54 Implement removal of top-level methods.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41765 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 09:52:12 +00:00
ahe@google.com db5feb1f8c Delete instance methods.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41764 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 09:51:19 +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
ahe@google.com fb3cf87b6d Handle instance methods.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41482 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 11:39:33 +00:00
ahe@google.com 54dea3276c Make incremental tests time out faster.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41481 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 10:55:12 +00:00
ahe@google.com 0a063b2fa1 Apply updates to static methods.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41201 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-20 15:20:45 +00:00
ahe@google.com 3658942df7 Handle top-level tear offs.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41130 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 13:49:29 +00:00
ahe@google.com 394638f300 Perform incremental compilation, and run the updated program.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41076 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 13:30:44 +00:00
ahe@google.com b4cc366a70 Scaffolding for testing incremental compilation.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41070 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 12:06:33 +00:00
ahe@google.com e277fbb20b Disable Google Analytics in automated tests.
R=lukechurch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39863 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 12:11:47 +00:00
ahe@google.com f97f17c76e Add "point of interest" app for command-line testing of dart2js type information.
For now, the app only prints the location of an offset given at command line.

Example usage:

dart -p$BUILD_DIRECTORY/ReleaseIA32/packages/ poi.dart DART_FILE OFFSET

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38114 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-10 10:37:40 +00:00