Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index e8a3153f7ff90350d83b7ae446af39d7c958bb79..89f7de6b8f02c98f6109b84117a2da62b4adcb66 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1733,7 +1733,7 @@ void InstructionSelector::VisitIfException(Node* node) { |
void InstructionSelector::VisitOsrValue(Node* node) { |
OperandGenerator g(this); |
- int index = OpParameter<int>(node); |
+ int index = OsrValueIndexOf(node->op()); |
Emit(kArchNop, |
g.DefineAsLocation(node, linkage()->GetOsrValueLocation(index))); |
} |