Index: src/interpreter/bytecode-array-iterator.cc |
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc |
index 542b505be7e70e25e4331d78c2bd9920761ff4c1..cbd3ec7c1a41b1102b8730b880d2639b45f52323 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); |