Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index a44711f5fc97d97e32ab2157cc4d8a2e2fcc789d..3b4e5e5153aaf0551ce33dabe9437cccfee41146 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -33,7 +33,7 @@ typedef InterpreterAssembler::Arg Arg; |
class InterpreterCompilationJob final : public CompilationJob { |
public: |
- explicit InterpreterCompilationJob(CompilationInfo* info); |
+ InterpreterCompilationJob(CompilationInfo* info, LazyCompilationMode mode); |
protected: |
Status PrepareJobImpl() final; |
@@ -159,8 +159,10 @@ int Interpreter::InterruptBudget() { |
return FLAG_interrupt_budget * kCodeSizeMultiplier; |
} |
-InterpreterCompilationJob::InterpreterCompilationJob(CompilationInfo* info) |
- : CompilationJob(info->isolate(), info, "Ignition"), generator_(info) {} |
+InterpreterCompilationJob::InterpreterCompilationJob(CompilationInfo* info, |
+ LazyCompilationMode mode) |
+ : CompilationJob(info->isolate(), info, "Ignition"), |
+ generator_(info, mode) {} |
InterpreterCompilationJob::Status InterpreterCompilationJob::PrepareJobImpl() { |
CodeGenerator::MakeCodePrologue(info(), "interpreter"); |
@@ -208,8 +210,9 @@ InterpreterCompilationJob::Status InterpreterCompilationJob::FinalizeJobImpl() { |
return SUCCEEDED; |
} |
-CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info) { |
- return new InterpreterCompilationJob(info); |
+CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info, |
+ LazyCompilationMode mode) { |
+ return new InterpreterCompilationJob(info, mode); |
} |
bool Interpreter::IsDispatchTableInitialized() { |