| Index: src/interpreter/bytecode-generator.h
|
| diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
|
| index 2def89346746169b38e8dc5308f2f33227e90497..c4ebbf893f7c8dde41180dc42effd5d39be45e1f 100644
|
| --- a/src/interpreter/bytecode-generator.h
|
| +++ b/src/interpreter/bytecode-generator.h
|
| @@ -51,6 +51,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
|
|
|
| void GenerateBytecode();
|
| void GenerateBytecodeBody();
|
| + void FinalizeBytecode();
|
|
|
| DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
|
|
|
| @@ -208,6 +209,9 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
|
| Scope* scope_;
|
| GlobalDeclarationsBuilder* globals_builder_;
|
| ZoneVector<GlobalDeclarationsBuilder*> global_declarations_;
|
| + ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_;
|
| + ZoneVector<std::pair<NativeFunctionLiteral*, size_t>>
|
| + native_function_literals_;
|
| ControlScope* execution_control_;
|
| ContextScope* execution_context_;
|
| ExpressionResultScope* execution_result_;
|
|
|