Index: pkg/compiler/lib/src/js_model/js_strategy.dart |
diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart |
index 0a95500adf78ad7b69feaa5ce47343a804dc55e5..4173eaf4711c77704f5e4d64c0fb141b44c68c0f 100644 |
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart |
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart |
@@ -19,7 +19,6 @@ import '../js_backend/backend_usage.dart'; |
import '../js_backend/constant_system_javascript.dart'; |
import '../js_backend/interceptor_data.dart'; |
import '../js_backend/native_data.dart'; |
-import '../kernel/kernel_strategy.dart'; |
import '../kernel/kernel_backend_strategy.dart'; |
import '../ssa/ssa.dart'; |
import '../universe/class_set.dart'; |
@@ -134,12 +133,7 @@ class JsBackendStrategy implements BackendStrategy { |
NativeBasicData nativeBasicData, |
ClosedWorld closedWorld, |
SelectorConstraintsStrategy selectorConstraintsStrategy) { |
- KernelFrontEndStrategy frontendStrategy = _compiler.frontendStrategy; |
- return new KernelCodegenWorldBuilder( |
- frontendStrategy.elementMap, |
- closedWorld.elementEnvironment, |
- nativeBasicData, |
- closedWorld, |
- selectorConstraintsStrategy); |
+ return new KernelCodegenWorldBuilder(closedWorld.elementEnvironment, |
+ nativeBasicData, closedWorld, selectorConstraintsStrategy); |
} |
} |