| Index: lib/compiler/implementation/namer.dart
|
| diff --git a/lib/compiler/implementation/namer.dart b/lib/compiler/implementation/namer.dart
|
| index 81045b6647a2f01e80f038617e835ee1cc33bd09..2864e6435ed176216b0d8c79d3d792716e955a40 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 ISOLATE_PROPERTIES = "\$isolateProperties";
|
|
|
|
|
| String closureInvocationName(Selector selector) {
|
| @@ -189,12 +190,16 @@ class Namer {
|
| }
|
| }
|
|
|
| - String isolateAccess(Element element) {
|
| - return "$CURRENT_ISOLATE.${getName(element)}";
|
| + String isolatePropertiesAccess(Element element) {
|
| + return "$ISOLATE.$ISOLATE_PROPERTIES.${getName(element)}";
|
| + }
|
| +
|
| + String isolatePropertiesAccessForConstant(String constantName) {
|
| + return "$ISOLATE.$ISOLATE_PROPERTIES.$constantName";
|
| }
|
|
|
| - String isolatePropertyAccess(Element element) {
|
| - return "$ISOLATE.prototype.${getName(element)}";
|
| + String isolateAccess(Element element) {
|
| + return "$CURRENT_ISOLATE.${getName(element)}";
|
| }
|
|
|
| String isolateBailoutAccess(Element element) {
|
|
|