Index: runtime/vm/flow_graph.h |
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h |
index 8b134b3604d3d2cf55a75a3db3eb10fd0d22c9d6..d4a827bf418f752fb8a58b79d6d0fa94819f4326 100644 |
--- a/runtime/vm/flow_graph.h |
+++ b/runtime/vm/flow_graph.h |
@@ -120,6 +120,14 @@ class FlowGraph : public ZoneAllocated { |
intptr_t alloc_ssa_temp_index() { return current_ssa_temp_index_++; } |
+ void AllocateSSAIndexes(Definition* def) { |
+ ASSERT(def); |
+ def->set_ssa_temp_index(alloc_ssa_temp_index()); |
+ // Always allocate a second index. This index unused except |
srdjan
2014/04/07 18:22:50
add a verb, e.g., 'is' ?
Cutch
2014/04/08 15:56:16
Done.
|
+ // for Definitions with register pair outputs. |
+ alloc_ssa_temp_index(); |
+ } |
+ |
intptr_t InstructionCount() const; |
ConstantInstr* GetConstant(const Object& object); |