| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 42e8354fb51483b2e9af5805a0e7f21d8b157a6d..9ddaa81af44ba1df971ae679a90d5c3a50d60f89 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4091,6 +4091,11 @@ int BytecodeArray::frame_size() const {
|
| }
|
|
|
|
|
| +int BytecodeArray::register_count() const {
|
| + return frame_size() / kPointerSize;
|
| +}
|
| +
|
| +
|
| void BytecodeArray::set_parameter_count(int number_of_parameters) {
|
| DCHECK_GE(number_of_parameters, 0);
|
| // Parameter count is stored as the size on stack of the parameters to allow
|
|
|