Index: src/interpreter/bytecode-array-iterator.h |
diff --git a/src/interpreter/bytecode-array-iterator.h b/src/interpreter/bytecode-array-iterator.h |
index 25d99e1cc9b8ffa6e4e2176871d6ffa3092d9aa0..0d9011f242eef9c85aea247eafd280d68e83743b 100644 |
--- a/src/interpreter/bytecode-array-iterator.h |
+++ b/src/interpreter/bytecode-array-iterator.h |
@@ -20,6 +20,7 @@ class BytecodeArrayIterator { |
void Advance(); |
bool done() const; |
Bytecode current_bytecode() const; |
+ int current_offset() const { return bytecode_offset_; } |
const Handle<BytecodeArray>& bytecode_array() const { |
return bytecode_array_; |
} |