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

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

Issue 2989453002: Add support for compiling Dart via the FE in dart2js. (Closed)
Patch Set: update status Created 3 years, 5 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
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 33967d1f3cc05f77a998d3a32f92551b3588e8dd..e50e5249cae8ebe4dabe6a266ca553d836fd90cf 100644
--- a/pkg/compiler/lib/src/js_backend/element_strategy.dart
+++ b/pkg/compiler/lib/src/js_backend/element_strategy.dart
@@ -70,7 +70,7 @@ class ElementBackendStrategy extends ComputeSpannableMixin
@override
SsaBuilder createSsaBuilder(CompilerTask task, JavaScriptBackend backend,
SourceInformationStrategy sourceInformationStrategy) {
- return _compiler.options.useKernel
+ return _compiler.options.useKernelInSsa
? new RastaSsaBuilder(task, backend, sourceInformationStrategy)
: new SsaAstBuilder(task, backend, sourceInformationStrategy);
}

Powered by Google App Engine
This is Rietveld 408576698