Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 1c1f3fafd7f11bbe659c093226e3231ed100e19c..13a76da12ae0c6f090b288395dec147cf707b45e 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -931,7 +931,7 @@ void InstructionSelector::VisitParameter(Node* node) { |
void InstructionSelector::VisitIfException(Node* node) { |
OperandGenerator g(this); |
- Node* call = node->InputAt(0); |
+ Node* call = node->InputAt(1); |
DCHECK_EQ(IrOpcode::kCall, call->opcode()); |
const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(call); |
Emit(kArchNop, g.DefineAsLocation(node, descriptor->GetReturnLocation(0), |