Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index 877d1dcd1ae0bcb1fda0801666c3e0dda3319e43..ebddfc01e872839bbb8cfac3d8504f619fe721bc 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -457,10 +457,7 @@ class ControlReducerImpl { |
// Gather phis and effect phis to be edited. |
ZoneVector<Node*> phis(zone_); |
for (Node* const use : node->uses()) { |
- if (use->opcode() == IrOpcode::kPhi || |
- use->opcode() == IrOpcode::kEffectPhi) { |
- phis.push_back(use); |
- } |
+ if (IrOpcode::IsPhiOpcode(use->opcode())) phis.push_back(use); |
} |
if (live == 1) { |