brianwilkerson@google.com
06b1a16819
Include source info in status AST dump
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//922453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43708 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-12 00:41:38 +00:00
scheglov@google.com
3f5da18831
Add packageUriResolver before ResourceUriResolver.
...
Otherwise execution.mapUri always restores file:// URI.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//922433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43705 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 23:06:48 +00:00
sra@google.com
b1a31838f2
Redo "Steps towards making dart2js JS AST templates an indepentent library."
...
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//917873002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43703 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 22:52:24 +00:00
brianwilkerson@google.com
0efb52aa0f
More complete state transition data
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//916973002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43700 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 22:04:51 +00:00
scheglov@google.com
303d94e89d
Add SourceEntry.CONTENT_ERRORS data descriptor.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//914283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43698 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 21:04:18 +00:00
sra@google.com
068d8a7349
Revert "Steps towards making dart2js JS AST templates an indepentent library."
...
Investigating snapshot issues.
TBR=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//884013011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43696 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 18:43:07 +00:00
sra@google.com
4585a0df9d
Steps towards making dart2js JS AST templates an indepentent library.
...
- Removed unused type Blob
- Remove use of CodeBuffer, Compiler, SourceInformation
- Moved existing code into library js_ast
- Added new library js that re-exports js_ast and adds dart2js specific code.
The next step is to move the code into its own package under pkg.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//915533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43695 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 18:24:43 +00:00
scheglov@google.com
84655a3ad3
Report an error on Dart Source reading exception.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//909373003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43694 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 18:22:27 +00:00
danrubel@google.com
c762e94a1c
check for null completion node
...
BUG=dartbug.com/22371
R=scheglov@google.com
Review URL: https://codereview.chromium.org//915023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43690 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:44:21 +00:00
asgerf@google.com
9dfa76057f
Fix method rename in analyzer2dart.
...
An incomplete refactoring did not touch analyzer2dart.
BUG=
Review URL: https://codereview.chromium.org//916793003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43686 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:29:36 +00:00
paulberry@google.com
be3c32b38b
Fix typo in error message.
...
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//917783002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43685 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:17:44 +00:00
asgerf@google.com
ec384eb0ad
dart2js cps: Handle optional parameters in builder.
...
For static invocations, default values are inlined.
For all invocations, named parameters are reordered alphabetically.
BUG=
R=karlklose@google.com
Committed: https://code.google.com/p/dart/source/detail?r=43643
Reverted: https://code.google.com/p/dart/source/detail?r=43679
Review URL: https://codereview.chromium.org//908863003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43684 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:13:40 +00:00
brianwilkerson@google.com
921e9592ad
Count task frequency in new task model
...
R=paulberry@google.com
Review URL: https://codereview.chromium.org//914783002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43682 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 14:26:26 +00:00
asgerf@google.com
096a40419e
Revert "dart2js cps: Handle optional parameters in builder."
...
This reverts commit 43643.
BUG=
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//879483005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43679 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 10:19:25 +00:00
zarah@google.com
c7a791d13c
dart2js: store typeVariableReader stubs in the model.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//895813006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43677 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 09:49:06 +00:00
scheglov@google.com
0b922f3d22
Quick Fix for an undefined class in is/as expressions.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//913923002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43675 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 01:31:53 +00:00
scheglov@google.com
7b59c01e8a
Use async/await in refactorings.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//913903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43674 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 01:21:43 +00:00
brianwilkerson@google.com
52af26ea3d
Minimal initial performance reporting
...
R=paulberry@google.com
Review URL: https://codereview.chromium.org//913853002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43672 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 23:09:40 +00:00
scheglov@google.com
9aaa9a6a99
Use ExitDetector.exists(node).
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//912023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43668 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 20:46:47 +00:00
paulberry@google.com
acaed71dba
Clean up analyzer and analysis server hints.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//908283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43667 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 20:40:26 +00:00
brianwilkerson@google.com
937c4be45d
Add index search support to AST and element model pages
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//910293002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43665 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 20:11:27 +00:00
scheglov@google.com
ff4e2bfce1
Issue 22188. Verify that none or all execution flows return.
...
R=brianwilkerson@google.com , paulberry@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=22188
Review URL: https://codereview.chromium.org//871013012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43663 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 19:14:01 +00:00
paulberry@google.com
6ea61b5686
Partial backport of analyzer async/await fixes to Java.
...
Backport of r43613, r43537, r43446, r43427, r43424, r43418, r43403,
r43361 to the Java-based analyzer. The backport is partial in that
the TypeProvider was not modified to include Future and Stream types
(this would have required substantial additional effort), and
consequently not all static warnings are correctly produced. However,
all NonErrorResolverTest cases were successfully backported and pass,
meaning that the Java-based analyzer shouldn't produce false positive
warnings for async/await code anymore.
BUG=dartbug.com/22252
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//913623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43655 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 16:04:50 +00:00
floitsch@google.com
1baffdd2da
dart2js: fix deferred loading in the new emitter.
...
Only works in drt/browser for now.
R=zarah@google.com
Review URL: https://codereview.chromium.org//903283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43654 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:33:29 +00:00
floitsch@google.com
41e936ef00
Extract invoke-main stub generator.
...
R=zarah@google.com
Committed: https://code.google.com/p/dart/source/detail?r=43644
Reverted: https://code.google.com/p/dart/source/detail?r=43649
Review URL: https://codereview.chromium.org//906713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43653 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:22:43 +00:00
johnniwinther@google.com
986ce5c39c
Support default constructors in analyzer2dart.
...
BUG=
R=paulberry@google.com , sigurdm@google.com
Review URL: https://codereview.chromium.org//900403003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43652 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:18:36 +00:00
sigurdm@google.com
18e885d1ea
Use a VariableUse instead of VariableDeclaration for left-hand side of
...
assignments.
BUG=dartbug.com/22328
R=floitsch@google.com
Review URL: https://codereview.chromium.org//909113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43651 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:13:19 +00:00
floitsch@google.com
7955b2d856
Revert "Extract invoke-main stub generator."
...
This reverts commit r43644.
Review URL: https://codereview.chromium.org//910063004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43649 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:00:31 +00:00
sigurdm@google.com
454602332b
Only schedule the execution of an async* when the stream is
...
subscribed to.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//902783008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43646 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 14:19:54 +00:00
floitsch@google.com
7aa556dcbd
Extract invoke-main stub generator.
...
R=zarah@google.com
Review URL: https://codereview.chromium.org//906713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43644 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 13:39:15 +00:00
asgerf@google.com
febb77ce10
dart2js cps: Handle optional parameters in builder.
...
For static invocations, default values are inlined.
For all invocations, named parameters are reordered alphabetically.
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//908863003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43643 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 13:36:58 +00:00
floitsch@google.com
ddc1701c8c
dart2js: make "CREATE_JS_ISOLATE" an embedded global.
...
R=zarah@google.com
Review URL: https://codereview.chromium.org//868283005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43642 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 13:08:42 +00:00
zarah@google.com
5e0dd0affd
dart2js: don't emit unneeded tear-off data in the new emitter.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//910723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43639 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 12:00:48 +00:00
johnniwinther@google.com
827e265786
Revert "Add sharedfrontend package"
...
This reverts commit r43635.
BUG=
Review URL: https://codereview.chromium.org//914613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43637 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 11:32:18 +00:00
johnniwinther@google.com
d7118339b5
Add sharedfrontend package
...
- initial element model includes Element, LibraryElement and ClassElement
- AccessSemantics moved to sharedfrontend to be utilized from both analyzer2dart and dart2js.
BUG=
R=brianwilkerson@google.com , paulberry@google.com
Review URL: https://codereview.chromium.org//898113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43635 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 10:44:56 +00:00
asgerf@google.com
fbf1f00690
cps2js: Bugfix in named parameters in call to superconstructor.
...
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//909483003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43633 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 10:31:22 +00:00
johnniwinther@google.com
4f5b823f9b
Fix yield for dart2dart minified.
...
BUG=
Review URL: https://codereview.chromium.org//912483005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43629 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 09:25:50 +00:00
brianwilkerson@google.com
92e3e1b94a
Fix notifications for nested packages
...
R=paulberry@google.com
Review URL: https://codereview.chromium.org//907183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43620 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 22:57:44 +00:00
brianwilkerson@google.com
94dd9d28f8
Fix a null pointer exception
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//908873003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43617 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 21:55:48 +00:00
paulberry@google.com
6a869d5e34
Fix inference of the static type of an async function literal.
...
This implements the spec change currently under review here:
https://codereview.chromium.org/902703003
R=scheglov@google.com
Review URL: https://codereview.chromium.org//905293003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43613 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 21:21:36 +00:00
scheglov@google.com
d7a2309a92
Fix for incremental resolution in case of inserting a new token into elegant comments.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//913573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43607 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 19:12:04 +00:00
brianwilkerson@google.com
ebad629834
Handle exception getting modification stamp
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//913513003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43603 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 17:19:00 +00:00
scheglov@google.com
07d2c82919
Issue 22316. Don't propose to create invalid local variable.
...
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=22316
Review URL: https://codereview.chromium.org//895773004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43600 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 16:45:43 +00:00
johnniwinther@google.com
6fcf4caa95
Refactor handling of source map information.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//893963005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43595 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 15:04:00 +00:00
johnniwinther@google.com
aa5e543b8b
Allow sync *, async * and yield * in dart2js
...
BUG=http://dartbug.com/22234
R=sigurdm@google.com
Review URL: https://codereview.chromium.org//864643006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43593 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 14:26:03 +00:00
asgerf@google.com
990e824303
dart2dart: Fix bad type annotation in backend_ast_emitter.
...
Issue: https://code.google.com/p/dart/issues/detail?id=22326
R=kmillikin@google.com
Review URL: https://codereview.chromium.org//911573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43592 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 12:38:20 +00:00
sigurdm@google.com
7b0bc3d220
Implementation of async-await transformation on js ast.
...
BUG=
R=floitsch@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//839323003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43591 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 12:02:52 +00:00
asgerf@google.com
f72a18378b
Revert "dart2js: Refactoring, documentation, and a few bugfixes in Namer class."
...
This reverts commit r43588.
BUG=
Review URL: https://codereview.chromium.org//906273002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43590 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 11:58:07 +00:00
asgerf@google.com
c767597da3
dart2js: Refactoring, documentation, and a few bugfixes in Namer class.
...
See long doc comment in namer.dart.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//891673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43588 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 11:31:10 +00:00
pquitslund@google.com
5ca6eca321
Version bump pre dev pub push.
...
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//909743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43583 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 05:13:55 +00:00