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

Unified Diff: pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart

Issue 2932883002: Add FrontendStrategy.commonElements and remove Backend.commonElements (Closed)
Patch Set: Created 3 years, 6 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: 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,

Powered by Google App Engine
This is Rietveld 408576698