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

Unified Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 1413213004: Move remaining helpers to BackendHelpers (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index b2d02b3f7e77d380ab381a582df1a720c9459518..17e73b5cbc89bae344afc2b21df4570bc7e01a54 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -36,6 +36,8 @@ import '../io/code_output.dart' show
CodeBuffer;
import '../io/source_information.dart' show
SourceInformationStrategy;
+import '../js_backend/backend_helpers.dart' as js_backend show
+ BackendHelpers;
import '../js_backend/js_backend.dart' as js_backend show
JavaScriptBackend;
import '../library_loader.dart' show
@@ -286,8 +288,8 @@ abstract class Backend {
// TODO(johnniwinther): Remove this when patching is only done by the
// JavaScript backend.
Uri canonicalUri = library.canonicalUri;
- if (canonicalUri == js_backend.JavaScriptBackend.DART_JS_HELPER ||
- canonicalUri == js_backend.JavaScriptBackend.DART_INTERCEPTORS) {
+ if (canonicalUri == js_backend.BackendHelpers.DART_JS_HELPER ||
+ canonicalUri == js_backend.BackendHelpers.DART_INTERCEPTORS) {
return true;
}
return false;
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698