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

Unified Diff: src/objects.h

Issue 1291693004: [Interpreter] Bytecode graph builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More fixes for bots (tests w/ ASAN and tests w/ slow asserts enabled). 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 751e3cf3453e76a3f4409d061e6e841d6c37e027..f547c8388cf9df637a2436ba64c4bd3342cbef7a 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4211,6 +4211,9 @@ class BytecodeArray : public FixedArrayBase {
inline int frame_size() const;
inline void set_frame_size(int frame_size);
+ // Accessor for register count (derived from frame_size).
+ inline int register_count() const;
+
// 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