Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index ca64504069bc9bd0740fbc75477c732b5a15f046..ee72135f4398f2d27d4eaffedffc0958d5bbef9b 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -24,7 +24,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
public: |
explicit BytecodeGenerator(CompilationInfo* info); |
- Handle<BytecodeArray> MakeBytecode(Isolate* isolate); |
+ void GenerateBytecode(); |
+ Handle<BytecodeArray> FinalizeBytecode(Isolate* isolate); |
#define DECLARE_VISIT(type) void Visit##type(type* node); |
AST_NODE_LIST(DECLARE_VISIT) |
@@ -52,9 +53,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
enum class TestFallthrough { kThen, kElse, kNone }; |
- void GenerateBytecode(); |
void GenerateBytecodeBody(); |
- void FinalizeBytecode(Isolate* isolate); |
+ void AllocateDeferredConstants(); |
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |