Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index eee21247166f6e3a8ab33a5f3ad4519c257da227..20837bf37b12c41cc81ca06d821797dc4246c23b 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -33,7 +33,7 @@ typedef CodeStubAssembler::Variable Variable; |
class InterpreterCompilationJob final : public CompilationJob { |
public: |
- InterpreterCompilationJob(CompilationInfo* info, LazyCompilationMode mode); |
+ explicit InterpreterCompilationJob(CompilationInfo* info); |
protected: |
Status PrepareJobImpl() final; |
@@ -191,10 +191,9 @@ int Interpreter::InterruptBudget() { |
return FLAG_interrupt_budget * kCodeSizeMultiplier; |
} |
-InterpreterCompilationJob::InterpreterCompilationJob(CompilationInfo* info, |
- LazyCompilationMode mode) |
+InterpreterCompilationJob::InterpreterCompilationJob(CompilationInfo* info) |
: CompilationJob(info->isolate(), info, "Ignition"), |
- generator_(info, mode), |
+ generator_(info), |
runtime_call_stats_(info->isolate()->counters()->runtime_call_stats()), |
background_execute_counter_("CompileBackgroundIgnition") {} |
@@ -253,9 +252,8 @@ InterpreterCompilationJob::Status InterpreterCompilationJob::FinalizeJobImpl() { |
return SUCCEEDED; |
} |
-CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info, |
- LazyCompilationMode mode) { |
- return new InterpreterCompilationJob(info, mode); |
+CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info) { |
+ return new InterpreterCompilationJob(info); |
} |
bool Interpreter::IsDispatchTableInitialized() { |