| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index ced82cb2bedb0167c7a92ad8bd51b982a7a6c17e..79c9e04ad0f78b794755a1ddf48e3dbc4c009471 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -3886,6 +3886,14 @@ void BytecodeArray::set_parameter_count(int number_of_parameters) {
|
| (number_of_parameters << kPointerSizeLog2));
|
| }
|
|
|
| +int BytecodeArray::profiling_count() const {
|
| + return READ_INT_FIELD(this, kProfilingCountOffset);
|
| +}
|
| +
|
| +void BytecodeArray::set_profiling_count(int profiling_counter_budget) {
|
| + DCHECK_GE(profiling_counter_budget, 0);
|
| + WRITE_INT_FIELD(this, kProfilingCountOffset, profiling_counter_budget);
|
| +}
|
|
|
| int BytecodeArray::parameter_count() const {
|
| // Parameter count is stored as the size on stack of the parameters to allow
|
|
|