Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index 89164af28d803cabac64ee5ec839b31f832807f2..9723e7dc02becc9f71a61ddf1b75d4d92fee157d 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -371,6 +371,14 @@ Node* InterpreterAssembler::BytecodeOperandFlag(int operand_index) { |
return BytecodeUnsignedOperand(operand_index, operand_size); |
} |
+Node* InterpreterAssembler::BytecodeOperandUImm(int operand_index) { |
+ DCHECK_EQ(OperandType::kUImm, |
+ Bytecodes::GetOperandType(bytecode_, operand_index)); |
+ OperandSize operand_size = |
+ Bytecodes::GetOperandSize(bytecode_, operand_index, operand_scale()); |
+ return BytecodeUnsignedOperand(operand_index, operand_size); |
+} |
+ |
Node* InterpreterAssembler::BytecodeOperandImm(int operand_index) { |
DCHECK_EQ(OperandType::kImm, |
Bytecodes::GetOperandType(bytecode_, operand_index)); |