| Index: src/interpreter/bytecode-register.h
|
| diff --git a/src/interpreter/bytecode-register.h b/src/interpreter/bytecode-register.h
|
| index d1883ef54a493014e0b27703a833392718b0a2f4..554bc23a5be0290c25e90bef69569a4d1fb6ab0e 100644
|
| --- a/src/interpreter/bytecode-register.h
|
| +++ b/src/interpreter/bytecode-register.h
|
| @@ -105,6 +105,9 @@ class RegisterList {
|
| RegisterList(int first_reg_index, int register_count)
|
| : first_reg_index_(first_reg_index), register_count_(register_count) {}
|
|
|
| + // Increases the size of the register list by one.
|
| + void IncrementRegisterCount() { register_count_++; }
|
| +
|
| // Returns a new RegisterList which is a truncated version of this list, with
|
| // |count| registers.
|
| const RegisterList Truncate(int new_count) {
|
|
|