Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index a37fcd58369c83a7fcb4be93efa62cd8eb658656..aa6bcd7401ece5cee7ca04675d032510ed0b4f98 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -4081,6 +4081,9 @@ int BytecodeArray::frame_size() const { |
| } |
| +int BytecodeArray::local_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 |