Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 5f67eb7bfe7bf3aa750e07ef241697465ac1f3a6..8d973c6ef01436330e839392f72e209c99886f4e 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -142,7 +142,7 @@ void Inlinee::UnifyReturn(JSGraph* jsgraph) { |
values.push_back(NodeProperties::GetValueInput(input, 0)); |
effects.push_back(NodeProperties::GetEffectInput(input)); |
edge.UpdateTo(NodeProperties::GetControlInput(input)); |
- input->RemoveAllInputs(); |
+ input->NullAllInputs(); |
break; |
default: |
UNREACHABLE(); |