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

Unified Diff: runtime/vm/flow_graph.h

Issue 215363004: Support for multiple register values (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph_allocator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 8b134b3604d3d2cf55a75a3db3eb10fd0d22c9d6..7f927f53a284d363fac066e25a51b1d646335891 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 AssignSSAIndexes(Definition* def) {
srdjan 2014/04/03 20:51:29 Optional: Why not name AllocateSSAIndexes?
Cutch 2014/04/03 22:05:37 Done.
+ ASSERT(def);
+ def->set_ssa_temp_index(alloc_ssa_temp_index());
+ if (def->RequiresPairSSAIndex()) {
+ def->set_pair_ssa_index(alloc_ssa_temp_index());
+ }
+ }
+
intptr_t InstructionCount() const;
ConstantInstr* GetConstant(const Object& object);
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph_allocator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698