Index: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
index 74b4ec64bd26f46944458e0e2739f1297c7ea7ed..e12847056c39984e0b7a9e3aaff588d105e8d99a 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
@@ -470,7 +470,8 @@ class FragmentEmitter { |
'cyclicThrow': backend.emitter |
.staticFunctionAccess(compiler.commonElements.cyclicThrowHelper), |
'operatorIsPrefix': js.string(namer.operatorIsPrefix), |
- 'tearOffCode': new js.Block(buildTearOffCode(backend)), |
+ 'tearOffCode': new js.Block(buildTearOffCode(compiler.options, |
+ backend.emitter.emitter, backend.namer, compiler.commonElements)), |
'embeddedTypes': generateEmbeddedGlobalAccess(TYPES), |
'embeddedInterceptorTags': |
generateEmbeddedGlobalAccess(INTERCEPTORS_BY_TAG), |