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

Unified Diff: pkg/compiler/lib/src/ssa/loop_handler.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
Index: pkg/compiler/lib/src/ssa/loop_handler.dart
diff --git a/pkg/compiler/lib/src/ssa/loop_handler.dart b/pkg/compiler/lib/src/ssa/loop_handler.dart
index a12278383761228cca1a5f02bfc0755e9bc836ba..3ce6289a64c72e941825603a16b4263758f88f0e 100644
--- a/pkg/compiler/lib/src/ssa/loop_handler.dart
+++ b/pkg/compiler/lib/src/ssa/loop_handler.dart
@@ -308,9 +308,9 @@ abstract class LoopHandler<T> {
/// A loop handler for the builder that just uses AST nodes directly.
class SsaLoopHandler extends LoopHandler<ast.Node> {
- final SsaBuilder builder;
+ final SsaAstGraphBuilder builder;
- SsaLoopHandler(SsaBuilder builder)
+ SsaLoopHandler(SsaAstGraphBuilder builder)
: this.builder = builder,
super(builder);
@@ -346,11 +346,11 @@ class _SsaLoopTypeVisitor extends ast.Visitor {
// TODO(het): Since kernel simplifies loop breaks and continues, we should
// rewrite the loop handler from scratch to account for the simplified structure
class KernelLoopHandler extends LoopHandler<ir.TreeNode> {
- final KernelSsaBuilder builder;
+ final KernelSsaGraphBuilder builder;
KernelAstAdapter get astAdapter => builder.astAdapter;
- KernelLoopHandler(KernelSsaBuilder builder)
+ KernelLoopHandler(KernelSsaGraphBuilder builder)
: this.builder = builder,
super(builder);
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_string_builder.dart ('k') | pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698