Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index b65ad6bb435f4ca0262515d6c877e7be2943c464..9de88298aee87b920ebf6576ac2e48128b999b1b 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -451,8 +451,7 @@ Node* RepresentationChanger::InsertConversion(Node* node, const Operator* op, |
Node* effect = NodeProperties::GetEffectInput(use_node); |
Node* control = NodeProperties::GetControlInput(use_node); |
Node* conversion = jsgraph()->graph()->NewNode(op, node, effect, control); |
- NodeProperties::ReplaceControlInput(use_node, control); |
- NodeProperties::ReplaceEffectInput(use_node, effect); |
+ NodeProperties::ReplaceEffectInput(use_node, conversion); |
return conversion; |
} |
return jsgraph()->graph()->NewNode(op, node); |