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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 11348177: Cleanup after the interceptor refactoring work, and add a new SSA instruction for an interceptor, s… (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/resolution/members.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 15190)
+++ sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy)
@@ -1507,6 +1507,8 @@
scope = oldScope;
enclosingElement = previousEnclosingElement;
+
+ world.registerInstantiatedClass(compiler.functionClass);
}
visitIf(If node) {
@@ -1882,12 +1884,6 @@
world.registerStaticUse(target.declaration);
}
}
- if (target == null) {
- // If we haven't found an element for this send, it might be a
- // dynamic send on a primitive value. Register the selector with
- // the world to add an interceptor, if necessary.
- world.registerUsedSelector(selector);
- }
}
visitLiteralInt(LiteralInt node) {

Powered by Google App Engine
This is Rietveld 408576698