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

Unified Diff: pkg/compiler/lib/src/js_backend/element_strategy.dart

Issue 2937203002: Add J-elements (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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_backend/backend.dart ('k') | pkg/compiler/lib/src/js_model/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_model/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698