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

Unified Diff: pkg/compiler/lib/src/ssa/ssa.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/ssa/ssa.dart
diff --git a/pkg/compiler/lib/src/ssa/ssa.dart b/pkg/compiler/lib/src/ssa/ssa.dart
index c36361c689b41124c33e23d343f8d02358f1bfc4..5446e6ec9caeeaa1e1b4c10144cda845a5472cf4 100644
--- a/pkg/compiler/lib/src/ssa/ssa.dart
+++ b/pkg/compiler/lib/src/ssa/ssa.dart
@@ -46,7 +46,8 @@ class SsaFunctionCompiler implements FunctionCompiler {
MemberEntity element = work.element;
js.Expression result = generator.generateCode(work, graph, closedWorld);
if (element is MethodElement) {
- // TODO(sigmund): replace by kernel transformer when `useKernel` is true.
+ // TODO(sigmund): replace by kernel transformer when `useKernelInSsa` is
+ // true.
result =
backend.rewriteAsync(closedWorld.commonElements, element, result);
}

Powered by Google App Engine
This is Rietveld 408576698