Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index d4f277307936b0eab5fe56617f1469bd90ee44f0..a049572170d4267fc464558eb55d28f35e899d92 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -59,6 +59,12 @@ int8_t BytecodeArrayIterator::GetImmediateOperand(int operand_index) const { |
} |
+int BytecodeArrayIterator::GetCountOperand(int operand_index) const { |
+ uint32_t operand = GetRawOperand(operand_index, OperandType::kCount8); |
+ return static_cast<int>(operand); |
+} |
+ |
+ |
int BytecodeArrayIterator::GetIndexOperand(int operand_index) const { |
OperandSize size = |
Bytecodes::GetOperandSize(current_bytecode(), operand_index); |