Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index adaf986d5e3db63d3b6e7fcdc7e6e6219979e43b..a0a744ebb9ad76083707b41859a1aeb1f983be9b 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -893,9 +893,9 @@ class JavaScriptBackend { |
task, |
compiler.options, |
const TreeShakingEnqueuerStrategy(), |
- new CodegenWorldBuilderImpl( |
- nativeBasicData, closedWorld, constants, const TypeMaskStrategy()), |
- new CodegenWorkItemBuilder(this, closedWorld, compiler.options), |
+ compiler.backendStrategy.createCodegenWorldBuilder( |
+ nativeBasicData, closedWorld, const TypeMaskStrategy()), |
+ compiler.backendStrategy.createCodegenWorkItemBuilder(closedWorld), |
new CodegenEnqueuerListener( |
compiler.elementEnvironment, |
commonElements, |