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

Unified Diff: src/objects-inl.h

Issue 1291693004: [Interpreter] Bytecode graph builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes/progress from rmcilroy to enable turbofan to process graphs from bytecode. Created 5 years, 3 months 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/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 794e017de45bfecc78f80578453ad4e6124fae02..e450682f103397a6710ba89a597a951241cd03d0 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -4087,6 +4087,9 @@ int BytecodeArray::frame_size() const {
}
+int BytecodeArray::local_count() const { return frame_size() / kPointerSize; }
+
+
void BytecodeArray::set_parameter_count(int number_of_parameters) {
DCHECK_GE(number_of_parameters, 0);
// Parameter count is stored as the size on stack of the parameters to allow

Powered by Google App Engine
This is Rietveld 408576698