Index: pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart |
index 07eb13c93f9afaa10cb3b5c8e24f7341f3fe2490..076c5833b41516592bc3f9787230741140f0570d 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/interceptor_emitter.dart |
@@ -27,8 +27,19 @@ class InterceptorEmitter extends CodeEmitterHelper { |
jsAst.Expression buildGetInterceptorMethod( |
jsAst.Name key, Set<ClassEntity> classes) { |
- InterceptorStubGenerator stubGenerator = |
- new InterceptorStubGenerator(compiler, namer, backend, closedWorld); |
+ InterceptorStubGenerator stubGenerator = new InterceptorStubGenerator( |
+ compiler.options, |
+ compiler.commonElements, |
+ backend.emitter, |
+ backend.nativeCodegenEnqueuer, |
+ backend.constants, |
+ namer, |
+ backend.nativeData, |
+ backend.interceptorData, |
+ backend.oneShotInterceptorData, |
+ backend.customElementsCodegenAnalysis, |
+ compiler.codegenWorldBuilder, |
+ closedWorld); |
jsAst.Expression function = |
stubGenerator.generateGetInterceptorMethod(classes); |
@@ -64,8 +75,19 @@ class InterceptorEmitter extends CodeEmitterHelper { |
Iterable<jsAst.Name> names = |
backend.oneShotInterceptorData.oneShotInterceptorNames; |
- InterceptorStubGenerator stubGenerator = |
- new InterceptorStubGenerator(compiler, namer, backend, closedWorld); |
+ InterceptorStubGenerator stubGenerator = new InterceptorStubGenerator( |
+ compiler.options, |
+ compiler.commonElements, |
+ backend.emitter, |
+ backend.nativeCodegenEnqueuer, |
+ backend.constants, |
+ namer, |
+ backend.nativeData, |
+ backend.interceptorData, |
+ backend.oneShotInterceptorData, |
+ backend.customElementsCodegenAnalysis, |
+ compiler.codegenWorldBuilder, |
+ closedWorld); |
String globalObject = namer |
.globalObjectForLibrary(backend.commonElements.interceptorsLibrary); |
for (jsAst.Name name in names) { |