Chromium Code Reviews| Index: src/hydrogen-instructions.cc |
| =================================================================== |
| --- src/hydrogen-instructions.cc (revision 7081) |
| +++ src/hydrogen-instructions.cc (working copy) |
| @@ -933,6 +933,14 @@ |
| } |
| +bool HPhi::HasRealUses() { |
| + for (int i = 0; i < uses()->length(); i++) { |
| + if (!uses()->at(i)->IsPhi()) return true; |
| + } |
| + return false; |
| +} |
| + |
| + |
| HValue* HPhi::GetRedundantReplacement() { |
| HValue* candidate = NULL; |
| int count = OperandCount(); |