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

Unified Diff: src/hydrogen-gvn.cc

Issue 19235010: Minor cleanup of GVN state pushing. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-gvn.cc
diff --git a/src/hydrogen-gvn.cc b/src/hydrogen-gvn.cc
index 65c5c3a77b559b7d2152701b8a84f0d4d649898e..09bea5bb18b09ba7c0c93439f58a39bd35841dd8 100644
--- a/src/hydrogen-gvn.cc
+++ b/src/hydrogen-gvn.cc
@@ -712,22 +712,18 @@ class GvnBasicBlockState: public ZoneObject {
zone);
return this;
} else if (dominated_index_ < length_) {
- return push(zone,
- block_->dominated_blocks()->at(dominated_index_),
- dominators());
+ return push(zone, block_->dominated_blocks()->at(dominated_index_));
} else {
return NULL;
}
}
- GvnBasicBlockState* push(Zone* zone,
- HBasicBlock* block,
- HSideEffectMap* dominators) {
+ GvnBasicBlockState* push(Zone* zone, HBasicBlock* block) {
if (next_ == NULL) {
next_ =
- new(zone) GvnBasicBlockState(this, block, map(), dominators, zone);
+ new(zone) GvnBasicBlockState(this, block, map(), dominators(), zone);
} else {
- next_->Initialize(block, map(), dominators, true, zone);
+ next_->Initialize(block, map(), dominators(), true, zone);
}
return next_;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698