Commit Graph

147 Commits

Author SHA1 Message Date
johnniwinther@google.com de4f79561d Fix hidden try tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43762 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 15:03:44 +00: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
whesse@google.com 247ff772d6 Update status files, replace "dartbug.com" with "Issue ".
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42900 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 10:27:11 +00:00
johnniwinther@google.com 0192ea71fc Emit to StreamCodeOutput instead of CodeBuffer.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42801 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 09:14:25 +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 e225e296db Update unit tests
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42507 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-19 14:44:11 +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 abf589b781 Parse merge conflict format for multi diffs.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42457 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 11:39:41 +00:00
ahe@google.com acddc1ba37 Support functions for testing multiple files.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42456 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 11:36:02 +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 794bc3c122 Mark incremental_compilation_update_test as being slow.
Review URL: https://codereview.chromium.org//750633002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41910 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 16:46:28 +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 48ec485a75 Quick fixes to broken tests.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41897 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 12:01:36 +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 517acbe676 Rewrite, document, and test qualifiedNamesIn.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41771 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 10:40:15 +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 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