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

Unified Diff: lib/compiler/implementation/namer.dart

Issue 10363002: Create isolate constructor dynamically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
Index: lib/compiler/implementation/namer.dart
diff --git a/lib/compiler/implementation/namer.dart b/lib/compiler/implementation/namer.dart
index 81045b6647a2f01e80f038617e835ee1cc33bd09..527098f07b4f2c81366f5ea56105e90759e97312 100644
--- a/lib/compiler/implementation/namer.dart
+++ b/lib/compiler/implementation/namer.dart
@@ -30,6 +30,7 @@ class Namer {
final String CURRENT_ISOLATE = "\$";
final String ISOLATE = "Isolate";
+ final String INITIAL_STATICS = "\$initialStatics";
String closureInvocationName(Selector selector) {
@@ -189,12 +190,12 @@ class Namer {
}
}
- String isolateAccess(Element element) {
- return "$CURRENT_ISOLATE.${getName(element)}";
+ String initialStaticsAccess(Element element) {
+ return "$ISOLATE.$INITIAL_STATICS.${getName(element)}";
}
- String isolatePropertyAccess(Element element) {
- return "$ISOLATE.prototype.${getName(element)}";
+ String isolateAccess(Element element) {
+ return "$CURRENT_ISOLATE.${getName(element)}";
}
String isolateBailoutAccess(Element element) {

Powered by Google App Engine
This is Rietveld 408576698