| Index: src/compiler-dispatcher/compiler-dispatcher-job.h
|
| diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.h b/src/compiler-dispatcher/compiler-dispatcher-job.h
|
| index 43978b8276d86e0782f8003afba8a5e4897963c7..7ab1c5f253f2c22793c93702de1acbd359a48339 100644
|
| --- a/src/compiler-dispatcher/compiler-dispatcher-job.h
|
| +++ b/src/compiler-dispatcher/compiler-dispatcher-job.h
|
| @@ -40,9 +40,16 @@ enum class CompileJobStatus {
|
|
|
| class V8_EXPORT_PRIVATE CompilerDispatcherJob {
|
| public:
|
| + // Creates a CompilerDispatcherJob in the initial state.
|
| CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
|
| Handle<SharedFunctionInfo> shared,
|
| size_t max_stack_size);
|
| + // Creates a CompilerDispatcherJob in the ReadyToCompiler state.
|
| + // Takes ownership of |zone|, |parse_info|, |compile_info| and |job|.
|
| + CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
|
| + Zone* zone, ParseInfo* parse_info,
|
| + CompilationInfo* compile_info, CompilationJob* job,
|
| + size_t max_stack_size);
|
| ~CompilerDispatcherJob();
|
|
|
| CompileJobStatus status() const { return status_; }
|
| @@ -93,7 +100,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherJob {
|
| private:
|
| FRIEND_TEST(CompilerDispatcherJobTest, ScopeChain);
|
|
|
| - CompileJobStatus status_ = CompileJobStatus::kInitial;
|
| + CompileJobStatus status_;
|
| Isolate* isolate_;
|
| CompilerDispatcherTracer* tracer_;
|
| Handle<SharedFunctionInfo> shared_; // Global handle.
|
|
|