Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 5f978358e27d7d4bb960cbc8297ff3da455c0834..0b7c78979c8869fffe25f801bda4df5b5e0b9dac 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -179,9 +179,8 @@ Reduction JSInliner::InlineCall(Node* call, Node* context, Node* frame_state, |
case IrOpcode::kDeoptimize: |
case IrOpcode::kTerminate: |
case IrOpcode::kThrow: |
- jsgraph_->graph()->end()->AppendInput(jsgraph_->zone(), input); |
- jsgraph_->graph()->end()->set_op( |
- jsgraph_->common()->End(jsgraph_->graph()->end()->InputCount())); |
+ NodeProperties::MergeControlToEnd(jsgraph_->graph(), jsgraph_->common(), |
+ input); |
break; |
default: |
UNREACHABLE(); |