Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 84c0028342867f9a7d2fb81e673562e8c13df362..23cbdcdbbedf56a0aefcc00e65e25ea7d11881e2 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -97,6 +97,13 @@ uint32_t BytecodeArrayIterator::GetFlagOperand(int operand_index) const { |
return GetUnsignedOperand(operand_index, OperandType::kFlag8); |
} |
+uint32_t BytecodeArrayIterator::GetUnsignedImmediateOperand( |
+ int operand_index) const { |
+ DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), |
+ OperandType::kUImm); |
+ return GetUnsignedOperand(operand_index, OperandType::kUImm); |
+} |
+ |
int32_t BytecodeArrayIterator::GetImmediateOperand(int operand_index) const { |
DCHECK_EQ(Bytecodes::GetOperandType(current_bytecode(), operand_index), |
OperandType::kImm); |