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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart

Issue 11415168: Revert "Emit constants using ASTs" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
Index: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index 47780b83c16580c2b294414aaf92beba4bf2e227..cd686863e05a52de072c91a56990c008339400a0 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -416,6 +416,10 @@ class Namer {
return "$ISOLATE.$ISOLATE_PROPERTIES.${getName(element)}";
}
+ String isolatePropertiesAccessForConstant(String constantName) {
+ return "$ISOLATE.$ISOLATE_PROPERTIES.$constantName";
+ }
+
String isolateAccess(Element element) {
return "$CURRENT_ISOLATE.${getName(element)}";
}

Powered by Google App Engine
This is Rietveld 408576698