Index: src/interpreter/bytecode-array-iterator.h |
diff --git a/src/interpreter/bytecode-array-iterator.h b/src/interpreter/bytecode-array-iterator.h |
index 31e237f09832b8083c46be3dd3825d220f945962..5dd2cf97f8431f81769761cd3a058516920ce47a 100644 |
--- a/src/interpreter/bytecode-array-iterator.h |
+++ b/src/interpreter/bytecode-array-iterator.h |
@@ -18,9 +18,11 @@ class BytecodeArrayIterator { |
explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array); |
void Advance(); |
+ void AdvanceToOffset(int offset); |
bool done() const; |
Bytecode current_bytecode() const; |
int current_offset() const { return bytecode_offset_; } |
+ int current_size() const { return Bytecodes::Size(current_bytecode()); } |
rmcilroy
2015/12/08 13:25:08
nit - current_bytecode_size
oth
2015/12/09 11:26:45
Removed.
|
const Handle<BytecodeArray>& bytecode_array() const { |
return bytecode_array_; |
} |