| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index c2bdf4836604b02e604ef9e163a57d840fa8de39..e6c425ea47a3e2bf9e08413bf5f4c504efe9c8f1 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4461,6 +4461,10 @@ class BytecodeArray : public FixedArrayBase {
|
| inline int parameter_count() const;
|
| inline void set_parameter_count(int number_of_parameters);
|
|
|
| + // Accessors for profiling count.
|
| + inline int profiling_count() const;
|
| + inline void set_profiling_count(int profiling_count_budget);
|
| +
|
| // Accessors for the constant pool.
|
| DECL_ACCESSORS(constant_pool, FixedArray)
|
|
|
| @@ -4489,7 +4493,8 @@ class BytecodeArray : public FixedArrayBase {
|
| // Layout description.
|
| static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize;
|
| static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize;
|
| - static const int kConstantPoolOffset = kParameterSizeOffset + kIntSize;
|
| + static const int kProfilingCountOffset = kParameterSizeOffset + kIntSize;
|
| + static const int kConstantPoolOffset = kProfilingCountOffset + kIntSize;
|
| static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize;
|
| static const int kSourcePositionTableOffset =
|
| kHandlerTableOffset + kPointerSize;
|
|
|