Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 1a4a6a105cd5a9275351089131495856252cdd9d..6c737613707011bb79d8fa363e636909f32ccddc 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(); |
+ void GenerateBytecode(); |
+ Handle<BytecodeArray> FinalizeBytecode(); |
#define DECLARE_VISIT(type) void Visit##type(type* node); |
AST_NODE_LIST(DECLARE_VISIT) |
@@ -49,9 +50,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
class RegisterResultScope; |
class RegisterAllocationScope; |
- void GenerateBytecode(); |
void GenerateBytecodeBody(); |
- void FinalizeBytecode(); |
+ void AllocateDeferredConstants(); |
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |