Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 8fea9843a416378824083cdc86110104061f60e5..4549944c4040d94bdbbd496a05836bac960d40f2 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -59,6 +59,12 @@ int8_t BytecodeArrayIterator::GetSmi8Operand(int operand_index) const { |
} |
+int BytecodeArrayIterator::GetCountOperand(int operand_index) const { |
+ uint32_t operand = GetRawOperand(operand_index, OperandType::kCount); |
+ return static_cast<int>(operand); |
+} |
+ |
+ |
int BytecodeArrayIterator::GetIndexOperand(int operand_index) const { |
uint32_t operand = GetRawOperand(operand_index, OperandType::kIdx); |
return static_cast<int>(operand); |