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

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

Issue 10825337: Add name and library to selectors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge from master. Created 8 years, 4 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
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index efc0a8015ca4308f184ff95c7c301b32b598b3c1..3fcd06b01934b6cd8f9385bd36515fed32b5cdd2 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -267,10 +267,9 @@ class Compiler implements DiagnosticListener {
return;
}
enabledNoSuchMethod = true;
- enqueuer.resolution.registerInvocation(NO_SUCH_METHOD,
- Selector.INVOCATION_2);
- enqueuer.codegen.registerInvocation(NO_SUCH_METHOD,
- Selector.INVOCATION_2);
+ Selector selector = new Selector.noSuchMethod();
+ enqueuer.resolution.registerInvocation(NO_SUCH_METHOD, selector);
+ enqueuer.codegen.registerInvocation(NO_SUCH_METHOD, selector);
}
void enableIsolateSupport(LibraryElement element) {

Powered by Google App Engine
This is Rietveld 408576698