Index: src/interpreter/bytecode-array-iterator.h |
diff --git a/src/interpreter/bytecode-array-iterator.h b/src/interpreter/bytecode-array-iterator.h |
index a0de3f0e7737e24436cf69aae83548c086ff2beb..f510cca046ac2bf1e488bfa53ac41a51294a91c8 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_; |
} |