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

Unified Diff: frog/leg/ssa/nodes.dart

Issue 9601009: Change labeled statement to use visitSubGraph for its body instead of marking its "exit block" spec… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comment. add more tests. Created 8 years, 9 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: frog/leg/ssa/nodes.dart
diff --git a/frog/leg/ssa/nodes.dart b/frog/leg/ssa/nodes.dart
index 46d41d90c791730693aca423a9bb85f79e8a383a..9ab99085fc11feb029501c3818d6622cc66e13f1 100644
--- a/frog/leg/ssa/nodes.dart
+++ b/frog/leg/ssa/nodes.dart
@@ -722,10 +722,10 @@ class HBlockInformation {
}
class HLabeledBlockInformation extends HBlockInformation {
- final HBasicBlock start;
- final HBasicBlock end;
+ final SubGraph body;
+ final HBasicBlock joinBlock;
final List<SourceString> labels;
- HLabeledBlockInformation(this.start, this.end, this.labels);
+ HLabeledBlockInformation(this.body, this.joinBlock, this.labels);
}
class HLoopInformation extends HBlockInformation {

Powered by Google App Engine
This is Rietveld 408576698