Chromium Code Reviews| 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) { |