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

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

Issue 2820143004: Remove Compiler and JavaScriptBackend from class_stub_generator (Closed)
Patch Set: Created 3 years, 8 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 35a6b776acd439aa409aeab2e908610b72c6c869..4ad99ddbd1ca6afe1148a8b70bda006d1d23a20e 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
@@ -208,7 +208,8 @@ class ModelEmitter {
Map<String, dynamic> holes = {
'deferredInitializer': emitDeferredInitializerGlobal(program.loadMap),
'holders': emitHolders(program.holders),
- 'tearOff': buildTearOffCode(backend),
+ 'tearOff': buildTearOffCode(compiler.options, backend.emitter.emitter,
+ backend.namer, compiler.commonElements),
'parseFunctionDescriptor':
js.js.statement(parseFunctionDescriptorBoilerplate, {
'argumentCount': js.string(namer.requiredParameterField),

Powered by Google App Engine
This is Rietveld 408576698