Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 352c9f725089533919101e238fc18186a916efcb..0bdd0553152975c9d73e337c885ba2c3f1815ad2 100644 |
--- a/src/interpreter/bytecode-array-iterator.cc |
+++ b/src/interpreter/bytecode-array-iterator.cc |
@@ -32,6 +32,11 @@ Bytecode BytecodeArrayIterator::current_bytecode() const { |
} |
+int BytecodeArrayIterator::current_bytecode_size() const { |
+ return Bytecodes::Size(current_bytecode()); |
+} |
+ |
+ |
uint32_t BytecodeArrayIterator::GetRawOperand(int operand_index, |
OperandType operand_type) const { |
DCHECK_GE(operand_index, 0); |