Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 6af06fddbb74311de367d9aaca53e09592a8e0c6..1390707231d1f877c992a867c31c0b8cb97874ec 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1046,14 +1046,14 @@ void Interpreter::DoStaDataPropertyInLiteral(InterpreterAssembler* assembler) { |
} |
void Interpreter::DoCollectTypeProfile(InterpreterAssembler* assembler) { |
- Node* name = __ LoadRegister(__ BytecodeOperandReg(0)); |
+ Node* position = __ BytecodeOperandImmSmi(0); |
Node* value = __ GetAccumulator(); |
Node* vector_index = __ SmiTag(__ BytecodeOperandIdx(1)); |
Node* feedback_vector = __ LoadFeedbackVector(); |
Node* context = __ GetContext(); |
- __ CallRuntime(Runtime::kCollectTypeProfile, context, name, value, |
+ __ CallRuntime(Runtime::kCollectTypeProfile, context, position, value, |
feedback_vector, vector_index); |
__ Dispatch(); |
} |