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

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

Issue 944423002: Revert "Use an enum in embedded_names as input to JS_GET_NAME." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/js_backend/js_backend.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 da276e4ddf9f576ffa39ea7997f6ebcd03500571..75f3dab49e198e7a3d9bf2656793766d72e2e1c4 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -73,8 +73,6 @@ class JavaScriptBackend extends Backend {
new Uri(scheme: 'dart', path: '_js_mirrors');
static final Uri DART_JS_NAMES =
new Uri(scheme: 'dart', path: '_js_names');
- static final Uri DART_EMBEDDED_NAMES =
- new Uri(scheme: 'dart', path: '_js_embedded_names');
static final Uri DART_ISOLATE_HELPER =
new Uri(scheme: 'dart', path: '_isolate_helper');
static final Uri DART_HTML =
@@ -366,9 +364,6 @@ class JavaScriptBackend extends Backend {
/// Holds the method "requiresPreamble" in _js_helper.
FunctionElement requiresPreambleMarker;
- /// Holds the class for the [JsGetName] enum.
- EnumClassElement jsGetNameEnum;
-
/// True if a call to preserveMetadataMarker has been seen. This means that
/// metadata must be retained for dart:mirrors to work correctly.
bool mustRetainMetadata = false;
@@ -1881,8 +1876,6 @@ class JavaScriptBackend extends Backend {
preserveLibraryNamesMarker = find(library, 'preserveLibraryNames');
} else if (uri == DART_JS_NAMES) {
preserveNamesMarker = find(library, 'preserveNames');
- } else if (uri == DART_EMBEDDED_NAMES) {
- jsGetNameEnum = find(library, 'JsGetName');
} else if (uri == DART_HTML) {
htmlLibraryIsLoaded = true;
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/js_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698