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

Unified Diff: src/objects.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.h
diff --git a/src/objects.h b/src/objects.h
index 0c9a6d20f0d29cd7e66f33d9f8f9b78d264f1a96..2fc00f3adaaf37f73c8ebf97d7826c3421898e6c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4159,6 +4159,9 @@ class BytecodeArray : public FixedArrayBase {
inline int frame_size() const;
inline void set_frame_size(int frame_size);
+ // Accessor for local count (derived from frame_size).
+ inline int local_count() const;
Michael Starzinger 2015/09/03 12:19:40 nit: Wouldn't it better fit the semantics to call
oth 2015/09/04 11:06:36 Done.
+
// Accessors for parameter count (including implicit 'this' receiver).
inline int parameter_count() const;
inline void set_parameter_count(int number_of_parameters);

Powered by Google App Engine
This is Rietveld 408576698