| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 89c92abadb055515978e281df82f2939d23ece2b..530dd4b13cc8522c7980814f7001633d08faaac1 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -520,7 +520,7 @@ compiler::Node* Interpreter::BuildLoadContextSlot(
|
| Node* reg_index = __ BytecodeOperandReg(0);
|
| Node* context = __ LoadRegister(reg_index);
|
| Node* slot_index = __ BytecodeOperandIdx(1);
|
| - Node* depth = __ BytecodeOperandIdx(2);
|
| + Node* depth = __ BytecodeOperandUImm(2);
|
| Node* slot_context = __ GetContextAtDepth(context, depth);
|
| return __ LoadContextSlot(slot_context, slot_index);
|
| }
|
| @@ -555,7 +555,7 @@ void Interpreter::DoStaContextSlot(InterpreterAssembler* assembler) {
|
| Node* reg_index = __ BytecodeOperandReg(0);
|
| Node* context = __ LoadRegister(reg_index);
|
| Node* slot_index = __ BytecodeOperandIdx(1);
|
| - Node* depth = __ BytecodeOperandIdx(2);
|
| + Node* depth = __ BytecodeOperandUImm(2);
|
| Node* slot_context = __ GetContextAtDepth(context, depth);
|
| __ StoreContextSlot(slot_context, slot_index, value);
|
| __ Dispatch();
|
|
|