Index: pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart b/pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart |
index 9842a23a624a070d4c7e48082b0146bf045f1798..2b04fac5675d71fa22df5de283c7d69517c0ddb9 100644 |
--- a/pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart |
@@ -231,7 +231,7 @@ class ModelEmitter { |
'callName': js.string(namer.callNameField) |
}), |
'cyclicThrow': backend.emitter |
- .staticFunctionAccess(backend.commonElements.cyclicThrowHelper), |
+ .staticFunctionAccess(_closedWorld.commonElements.cyclicThrowHelper), |
'outputContainsConstantList': program.outputContainsConstantList, |
'embeddedGlobals': emitEmbeddedGlobals(program), |
'readMetadataTypeFunction': readMetadataTypeFunction, |