Index: pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
index 7f8e8453794536626c0578ac5a198538fc577ea6..40fd877c4ce941bfe86c998bc97c082288584422 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart |
@@ -146,7 +146,7 @@ class Emitter implements emitterTask.Emitter { |
switch (builtin) { |
case JsBuiltin.dartObjectConstructor: |
return js.js.expressionTemplateYielding( |
- typeAccess(_compiler.objectClass)); |
+ typeAccess(_compiler.coreClasses.objectClass)); |
case JsBuiltin.isCheckPropertyToJsConstructorName: |
int isPrefixLength = namer.operatorIsPrefix.length; |