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 b99686d3bce7370f1c5874ae04698c4abb0e9c5c..03c5e0fc16375c82108a3704faae3dd3e6a6a15d 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -855,12 +855,11 @@ class JavaScriptBackend { |
native.NativeBehavior resolveForeignCall(Send node, Element element, |
CallStructure callStructure, ForeignResolver resolver) { |
if (element.name == BackendHelpers.JS) { |
- return _nativeResolutionEnqueuer.resolveJsCall(node, resolver); |
+ return _nativeDataResolver.resolveJsCall(node, resolver); |
} else if (element.name == BackendHelpers.JS_EMBEDDED_GLOBAL) { |
- return _nativeResolutionEnqueuer.resolveJsEmbeddedGlobalCall( |
- node, resolver); |
+ return _nativeDataResolver.resolveJsEmbeddedGlobalCall(node, resolver); |
} else if (element.name == BackendHelpers.JS_BUILTIN) { |
- return _nativeResolutionEnqueuer.resolveJsBuiltinCall(node, resolver); |
+ return _nativeDataResolver.resolveJsBuiltinCall(node, resolver); |
} else if (element.name == BackendHelpers.JS_INTERCEPTOR_CONSTANT) { |
// The type constant that is an argument to JS_INTERCEPTOR_CONSTANT names |
// a class that will be instantiated outside the program by attaching a |