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

Unified Diff: runtime/vm/intermediate_language.h

Issue 9553008: Implement DoWhile. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 5046)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -711,11 +711,11 @@
DECLARE_INSTRUCTION(Branch)
Value* value() const { return value_; }
- TargetEntryInstr* true_successor() const { return true_successor_; }
- TargetEntryInstr* false_successor() const { return false_successor_; }
+ BlockEntryInstr* true_successor() const { return true_successor_; }
+ BlockEntryInstr* false_successor() const { return false_successor_; }
- TargetEntryInstr** true_successor_address() { return &true_successor_; }
- TargetEntryInstr** false_successor_address() { return &false_successor_; }
+ BlockEntryInstr** true_successor_address() { return &true_successor_; }
+ BlockEntryInstr** false_successor_address() { return &false_successor_; }
virtual void SetSuccessor(Instruction* instr) { UNREACHABLE(); }
@@ -723,8 +723,8 @@
private:
Value* value_;
- TargetEntryInstr* true_successor_;
- TargetEntryInstr* false_successor_;
+ BlockEntryInstr* true_successor_;
+ BlockEntryInstr* false_successor_;
DISALLOW_COPY_AND_ASSIGN(BranchInstr);
};
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698