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