Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: src/interpreter/bytecode-array-iterator.h

Issue 1502243002: [Interpreter] Local flow control in the bytecode graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Build fix. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
}

Powered by Google App Engine
This is Rietveld 408576698