Index: src/compiler/int64-lowering.cc |
diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc |
index c9c87b65d6de55807e5fa6a13afbe5bc232a3287..ff31abe518f07cdf60fa58d8acac90e2cbf0a907 100644 |
--- a/src/compiler/int64-lowering.cc |
+++ b/src/compiler/int64-lowering.cc |
@@ -209,8 +209,7 @@ void Int64Lowering::LowerNode(Node* node) { |
signature()->parameter_count()) { |
int old_index = ParameterIndexOf(node->op()); |
int new_index = GetParameterIndexAfterLowering(signature(), old_index); |
- Node* low_node = |
- graph()->NewNode(common()->Parameter(new_index), graph()->start()); |
+ NodeProperties::ChangeOp(node, common()->Parameter(new_index)); |
Node* high_node = nullptr; |
if (signature()->GetParam(old_index) == |
@@ -218,7 +217,7 @@ void Int64Lowering::LowerNode(Node* node) { |
high_node = graph()->NewNode(common()->Parameter(new_index + 1), |
graph()->start()); |
} |
- ReplaceNode(node, low_node, high_node); |
+ ReplaceNode(node, node, high_node); |
} |
break; |
} |