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

Unified Diff: lib/compiler/implementation/compiler.dart

Issue 10119010: Start propagating non-primitive types in the backend, and fold instructions that know about the typ… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 months 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: lib/compiler/implementation/compiler.dart
===================================================================
--- lib/compiler/implementation/compiler.dart (revision 6686)
+++ lib/compiler/implementation/compiler.dart (working copy)
@@ -385,6 +385,13 @@
enqueuer.registerInvocation(methodName, selector);
}
+ void registerDynamicInvocationOn(SourceString methodName,
floitsch 2012/04/18 19:18:48 I would prefer Element first.
ngeoffray 2012/04/19 08:09:33 I changed the signature to only take an element.
+ Selector selector,
+ Element element) {
+ assert(selector !== null);
floitsch 2012/04/18 19:18:48 I think we need to register the invocation too.
ngeoffray 2012/04/19 08:09:33 If you do that, then all 'foo' methods will be com
+ addToWorkList(element);
+ }
+
void registerDynamicGetter(SourceString methodName) {
enqueuer.registerGetter(methodName);
}

Powered by Google App Engine
This is Rietveld 408576698