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

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

Issue 10917254: Move registering of interceptors to the JsBackend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index 755d9fdcc0ee7e094f36a868780e6178e811cda3..614ff8b61528a58ec3ee908d000833bd5ebf0884 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -1546,12 +1546,7 @@ class ResolverVisitor extends CommonResolverVisitor<Element> {
// the use of classes. Wouldn't it be simpler if we just did?
if (!target.isClass()) world.registerStaticUse(target);
}
-
- var interceptor =
- new Interceptors(compiler).getStaticInterceptorBySelector(selector);
- if (interceptor !== null) {
- world.registerStaticUse(interceptor);
- }
+ compiler.backend.onUseSelector(selector, world);
kasperl 2012/09/14 09:04:41 I think this would be cleaner if you'd call world.
karlklose 2012/10/08 13:15:35 Done.
}
visitLiteralInt(LiteralInt node) {

Powered by Google App Engine
This is Rietveld 408576698