Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 38b81e27e3b4eaa161812fe09b52d66c769687b2..482a283e855bd54fef1a4bf77c235333dad4d926 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1270,7 +1270,7 @@ void SimplifiedLowering::DoLoadBuffer(Node* node, MachineType output_type, |
Node* ephi = graph()->NewNode(common()->EffectPhi(2), etrue, efalse, merge); |
// Replace effect uses of {node} with the {ephi}. |
- NodeProperties::ReplaceWithValue(node, node, ephi); |
+ NodeProperties::ReplaceUses(node, node, ephi); |
// Turn the {node} into a Phi. |
node->set_op(common()->Phi(output_type, 2)); |