Commit 316d5062 authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Only connect the exception edge in to-number conversion.

Review URL: https://codereview.chromium.org/1914493002

Cr-Commit-Position: refs/heads/master@{#35738}
parent d0f414db
......@@ -235,7 +235,7 @@ class JSBinopReduction final {
frame_state, effect(), control());
Node* const if_success = graph()->NewNode(common()->IfSuccess(), n);
NodeProperties::ReplaceControlInput(node_, if_success);
NodeProperties::ReplaceUses(node_, node_, node_, n, n);
NodeProperties::ReplaceUses(node_, node_, node_, node_, n);
update_effect(n);
return n;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment