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

Unified Diff: src/compiler/schedule.h

Issue 762723004: Move linked list for RPO order into BasicBlock itself. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 | src/compiler/schedule.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/schedule.h
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h
index 94525cdc8efc5330a90f15ce113deb1f8855a96e..8c3e29a45a784a6541ce2ce6759094221a91cbce 100644
--- a/src/compiler/schedule.h
+++ b/src/compiler/schedule.h
@@ -151,6 +151,9 @@ class BasicBlock FINAL : public ZoneObject {
BasicBlock* dominator() const { return dominator_; }
void set_dominator(BasicBlock* dominator) { dominator_ = dominator; }
+ BasicBlock* rpo_next() const { return rpo_next_; }
+ void set_rpo_next(BasicBlock* rpo_next) { rpo_next_ = rpo_next; }
+
BasicBlock* loop_header() const { return loop_header_; }
void set_loop_header(BasicBlock* loop_header);
@@ -178,6 +181,7 @@ class BasicBlock FINAL : public ZoneObject {
bool deferred_; // true if the block contains deferred code.
int32_t dominator_depth_; // Depth within the dominator tree.
BasicBlock* dominator_; // Immediate dominator of the block.
+ BasicBlock* rpo_next_; // Link to next block in special RPO order.
BasicBlock* loop_header_; // Pointer to dominating loop header basic block,
// NULL if none. For loop headers, this points to
// enclosing loop header.
« no previous file with comments | « no previous file | src/compiler/schedule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698