Index: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
index bf4cb7df21d04b0bba75980b9fa1b2791dd165b6..3bc3c87980fd1e17eb796417ecd1eb499b10d00a 100644 |
--- a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
@@ -845,8 +845,15 @@ class ProgramBuilder { |
MethodElement element, bool canTearOff) { |
if (!_methodNeedsStubs(element)) return const <ParameterStubMethod>[]; |
- ParameterStubGenerator generator = |
- new ParameterStubGenerator(_compiler, _namer, _backend, _closedWorld); |
+ ParameterStubGenerator generator = new ParameterStubGenerator( |
+ _commonElements, |
+ _task, |
+ _constantHandler, |
+ _namer, |
+ _nativeData, |
+ _interceptorData, |
+ _worldBuilder, |
+ _closedWorld); |
return generator.generateParameterStubs(element, canTearOff: canTearOff); |
} |