Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index ed1187de846ddfe7f90db7475d481043eddd5bf2..b9718a3783eee8159788eb17eff945ea870c30f6 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -15,7 +15,6 @@ namespace v8 { |
namespace internal { |
class CompilationInfo; |
-enum class LazyCompilationMode; |
namespace interpreter { |
@@ -23,7 +22,7 @@ class LoopBuilder; |
class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
public: |
- BytecodeGenerator(CompilationInfo* info, LazyCompilationMode mode); |
+ explicit BytecodeGenerator(CompilationInfo* info); |
void GenerateBytecode(uintptr_t stack_limit); |
Handle<BytecodeArray> FinalizeBytecode(Isolate* isolate); |
@@ -205,7 +204,6 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
BytecodeArrayBuilder* builder_; |
CompilationInfo* info_; |
DeclarationScope* scope_; |
- LazyCompilationMode compilation_mode_; |
GlobalDeclarationsBuilder* globals_builder_; |
ZoneVector<GlobalDeclarationsBuilder*> global_declarations_; |