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

Unified Diff: src/hydrogen.cc

Issue 6707001: Store HValue uses in a custom small list structure. (Closed)
Patch Set: Review fixes Created 9 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 | src/hydrogen-instructions.h » ('j') | src/small-pointer-list.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index e9bfafd37781a5616adb1af21f03d9a9fa433ec2..28a89085f254341851c1f9ab86f05d7b93da716a 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -745,7 +745,7 @@ void HGraph::EliminateRedundantPhis() {
if (value != NULL) {
// Iterate through uses finding the ones that should be
// replaced.
- ZoneList<HValue*>* uses = phi->uses();
+ SmallPointerList<HValue>* uses = phi->uses();
while (!uses->is_empty()) {
HValue* use = uses->RemoveLast();
if (use != NULL) {
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | src/small-pointer-list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698