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); |