Index: src/compiler/js-inlining.cc |
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc |
index 1a49e2f4c694164a75ec999427af904ade22d80d..f9c28205341bf0985e860d5a99d4fb40ece28f8e 100644 |
--- a/src/compiler/js-inlining.cc |
+++ b/src/compiler/js-inlining.cc |
@@ -184,7 +184,7 @@ |
for (Node* const input : end->inputs()) { |
switch (input->opcode()) { |
case IrOpcode::kReturn: |
- values.push_back(NodeProperties::GetValueInput(input, 1)); |
+ values.push_back(NodeProperties::GetValueInput(input, 0)); |
effects.push_back(NodeProperties::GetEffectInput(input)); |
controls.push_back(NodeProperties::GetControlInput(input)); |
break; |