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

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

Issue 11365170: Start new design for interceptors and implement String.charCodeAt with it. (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 14840)
+++ sdk/lib/_internal/compiler/implementation/enqueue.dart (working copy)
@@ -139,6 +139,10 @@
}
universe.instantiatedClasses.add(cls);
onRegisterInstantiatedClass(cls);
+ if (cls.isAbstract(compiler)) {
+ ClassElement element = compiler.backend.getBackendImplementation(cls);
+ if (element != null) registerInstantiatedClass(element);
+ }
}
bool checkNoEnqueuedInvokedInstanceMethods() {

Powered by Google App Engine
This is Rietveld 408576698