Lines Matching refs:job
21 void DisposeCompilationJob(CompilationJob* job, bool restore_function_code) { in DisposeCompilationJob() argument
23 Handle<JSFunction> function = job->info()->closure(); in DisposeCompilationJob()
30 delete job; in DisposeCompilationJob()
94 CompilationJob* job = input_queue_[InputQueueIndex(0)]; in NextInput() local
95 DCHECK_NOT_NULL(job); in NextInput()
101 DisposeCompilationJob(job, true); in NextInput()
105 return job; in NextInput()
108 void OptimizingCompileDispatcher::CompileNext(CompilationJob* job) { in CompileNext() argument
109 if (!job) return; in CompileNext()
112 CompilationJob::Status status = job->ExecuteJob(); in CompileNext()
119 output_queue_.push(job); in CompileNext()
125 CompilationJob* job = NULL; in FlushOutputQueue() local
129 job = output_queue_.front(); in FlushOutputQueue()
133 DisposeCompilationJob(job, restore_function_code); in FlushOutputQueue()
142 CompilationJob* job = input_queue_[InputQueueIndex(0)]; in Flush() local
143 DCHECK_NOT_NULL(job); in Flush()
146 DisposeCompilationJob(job, true); in Flush()
190 CompilationJob* job = NULL; in InstallOptimizedFunctions() local
194 job = output_queue_.front(); in InstallOptimizedFunctions()
197 CompilationInfo* info = job->info(); in InstallOptimizedFunctions()
205 DisposeCompilationJob(job, false); in InstallOptimizedFunctions()
207 Compiler::FinalizeCompilationJob(job); in InstallOptimizedFunctions()
212 void OptimizingCompileDispatcher::QueueForOptimization(CompilationJob* job) { in QueueForOptimization() argument
218 input_queue_[InputQueueIndex(input_queue_length_)] = job; in QueueForOptimization()