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

Unified Diff: runtime/vm/intermediate_language.h

Issue 9722009: Remove possibility of critical edges. (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
« no previous file with comments | « 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 5591)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -1109,11 +1109,11 @@
DECLARE_INSTRUCTION(Branch)
Value* value() const { return value_; }
- BlockEntryInstr* true_successor() const { return true_successor_; }
- BlockEntryInstr* false_successor() const { return false_successor_; }
+ TargetEntryInstr* true_successor() const { return true_successor_; }
+ TargetEntryInstr* false_successor() const { return false_successor_; }
- BlockEntryInstr** true_successor_address() { return &true_successor_; }
- BlockEntryInstr** false_successor_address() { return &false_successor_; }
+ TargetEntryInstr** true_successor_address() { return &true_successor_; }
+ TargetEntryInstr** false_successor_address() { return &false_successor_; }
virtual void SetSuccessor(Instruction* instr) { UNREACHABLE(); }
@@ -1121,8 +1121,8 @@
private:
Value* value_;
- BlockEntryInstr* true_successor_;
- BlockEntryInstr* false_successor_;
+ TargetEntryInstr* true_successor_;
+ TargetEntryInstr* false_successor_;
DISALLOW_COPY_AND_ASSIGN(BranchInstr);
};
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698