Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
index ed798d6b22a814ddc5b5c32fd5f4cb1154d5f50f..6f890b7bbe6002f80937a7a394fa3fecbda84c93 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
@@ -1838,6 +1838,11 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
"The compiler does not know how generate code for " |
"constant $constant"); |
} |
+ } else if (constant.isType) { |
floitsch
2012/11/16 13:53:31
isn't this doing exactly the same thing as the 'el
karlklose
2012/11/19 15:08:58
Yes. Removed.
|
+ String name = namer.constantName(constant); |
+ js.VariableUse currentIsolateUse = |
+ new js.VariableUse(backend.namer.CURRENT_ISOLATE); |
+ push(new js.PropertyAccess.field(currentIsolateUse, name)); |
} else { |
String name = namer.constantName(constant); |
js.VariableUse currentIsolateUse = |