Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 5279a74f499e883357e4a5e10c5440dcc8a2d304..4e702b177e92dd9b71ce9f6f83316d44083c931e 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -547,7 +547,7 @@ class JavaScriptBackend extends Backend { |
String registerOneShotInterceptor(Selector selector) { |
Set<ClassElement> classes = getInterceptedClassesOn(selector.name); |
- String name = namer.getOneShotInterceptorName(selector, classes); |
+ String name = namer.nameForGetOneShotInterceptor(selector, classes); |
if (!oneShotInterceptors.containsKey(name)) { |
registerSpecializedGetInterceptor(classes); |
oneShotInterceptors[name] = selector; |
@@ -746,7 +746,7 @@ class JavaScriptBackend extends Backend { |
} |
void registerSpecializedGetInterceptor(Set<ClassElement> classes) { |
- String name = namer.getInterceptorName(getInterceptorMethod, classes); |
+ String name = namer.nameForGetInterceptor(classes); |
if (classes.contains(jsInterceptorClass)) { |
// We can't use a specialized [getInterceptorMethod], so we make |
// sure we emit the one with all checks. |