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