Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: sdk/lib/_internal/compiler/implementation/enqueue.dart

Issue 11308257: - Parse the return type of JS during resolution to know what can be instantiated there. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/enqueue.dart (revision 15508)
+++ sdk/lib/_internal/compiler/implementation/enqueue.dart (working copy)
@@ -392,6 +392,11 @@
universe.isChecks.add(type);
}
+ void registerJsCall(Send node, ResolverVisitor resolver) {
+ nativeEnqueuer.registerJsCall(node, this, resolver);
+ }
+
+
void forEach(f(WorkItem work)) {
while (!queue.isEmpty) {
f(queue.removeLast()); // TODO(kasperl): Why isn't this removeFirst?

Powered by Google App Engine
This is Rietveld 408576698