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

Unified Diff: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart

Issue 2810223002: Remove Compiler and JavaScriptBackend from parameter_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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698