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

Unified Diff: src/hydrogen.cc

Issue 6707001: Store HValue uses in a custom small list structure. (Closed)
Patch Set: 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 513d4a8501b9210ab23ae2edd4b377cc1fcb8188..2ddf0e713b0ee79bfd3db74795c96fc04e8be95c 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -743,7 +743,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