Index: pkg/compiler/lib/src/js_backend/element_strategy.dart |
diff --git a/pkg/compiler/lib/src/js_backend/element_strategy.dart b/pkg/compiler/lib/src/js_backend/element_strategy.dart |
index 466823af0380d3c832172eec2c8b1940a59007c8..129a0520d2160af6d6a2ce102084b784ef518e4d 100644 |
--- a/pkg/compiler/lib/src/js_backend/element_strategy.dart |
+++ b/pkg/compiler/lib/src/js_backend/element_strategy.dart |
@@ -7,6 +7,7 @@ library dart2js.js_backend.element_strategy; |
import '../backend_strategy.dart'; |
import '../common.dart'; |
import '../common/codegen.dart'; |
+import '../common/tasks.dart'; |
import '../common/work.dart'; |
import '../compiler.dart'; |
import '../elements/elements.dart'; |
@@ -61,11 +62,11 @@ class ElementBackendStrategy implements BackendStrategy { |
} |
@override |
- SsaBuilderTask createSsaBuilderTask(JavaScriptBackend backend, |
+ SsaBuilder createSsaBuilder(CompilerTask task, JavaScriptBackend backend, |
SourceInformationStrategy sourceInformationStrategy) { |
return _compiler.options.useKernel |
- ? new RastaSsaBuilderTask(backend, sourceInformationStrategy) |
- : new SsaAstBuilderTask(backend, sourceInformationStrategy); |
+ ? new RastaSsaBuilder(task, backend, sourceInformationStrategy) |
+ : new SsaAstBuilder(task, backend, sourceInformationStrategy); |
} |
SourceInformationStrategy get sourceInformationStrategy { |