Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index b9718a3783eee8159788eb17eff945ea870c30f6..f15829dea82514ca6f8fb7ebbebbcd16e3afdaa7 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -53,7 +53,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
enum class TestFallthrough { kThen, kElse, kNone }; |
void GenerateBytecodeBody(); |
- void AllocateDeferredConstants(); |
+ void AllocateDeferredConstants(Isolate* isolate); |
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
@@ -210,6 +210,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_; |
ZoneVector<std::pair<NativeFunctionLiteral*, size_t>> |
native_function_literals_; |
+ ZoneVector<std::pair<ObjectLiteral*, size_t>> object_literals_; |
+ ZoneVector<std::pair<ArrayLiteral*, size_t>> array_literals_; |
ControlScope* execution_control_; |
ContextScope* execution_context_; |