| Index: src/interpreter/bytecodes.h
|
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
|
| index a146241a49b46153cb45d5adfa1929fd830bc7ea..eb0a7b03f9855575150822b82a51763fb8b100a9 100644
|
| --- a/src/interpreter/bytecodes.h
|
| +++ b/src/interpreter/bytecodes.h
|
| @@ -68,6 +68,10 @@ namespace interpreter {
|
| V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \
|
| OperandType::kIdx8) \
|
| \
|
| + /* Context operations */ \
|
| + V(PushContext, OperandType::kReg8) \
|
| + V(PopContext, OperandType::kReg8) \
|
| + \
|
| /* Binary Operators */ \
|
| V(Add, OperandType::kReg8) \
|
| V(Sub, OperandType::kReg8) \
|
| @@ -167,6 +171,10 @@ class Register {
|
| int ToParameterIndex(int parameter_count) const;
|
| static int MaxParameterIndex();
|
|
|
| + // Returns the register for the function's closure object.
|
| + static Register function_closure();
|
| + bool is_function_closure() const;
|
| +
|
| // Returns the register for the function's outer context.
|
| static Register function_context();
|
| bool is_function_context() const;
|
|
|