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

Unified Diff: runtime/vm/intermediate_language.h

Issue 12079096: Make use lists into doubly-linked lists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | 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 17923)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -73,6 +73,7 @@
public:
explicit Value(Definition* definition)
: definition_(definition),
+ previous_use_(NULL),
next_use_(NULL),
instruction_(NULL),
use_index_(-1),
@@ -81,6 +82,9 @@
Definition* definition() const { return definition_; }
void set_definition(Definition* definition) { definition_ = definition; }
+ Value* previous_use() const { return previous_use_; }
+ void set_previous_use(Value* previous) { previous_use_ = previous; }
+
Value* next_use() const { return next_use_; }
void set_next_use(Value* next) { next_use_ = next; }
@@ -133,6 +137,7 @@
private:
Definition* definition_;
+ Value* previous_use_;
Value* next_use_;
Instruction* instruction_;
intptr_t use_index_;
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698