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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2778803002: Move resolve* from NativeResolutionEnqueuer to NativeDataResolver (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698