Fix compile error.
BUG= R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/23651012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16741 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ea5ab721e4
commit
1d07d3152c
@ -952,7 +952,7 @@ MaybeObject* Execution::HandleStackGuardInterrupt(Isolate* isolate) {
|
|||||||
}
|
}
|
||||||
if (stack_guard->IsInstallCodeRequest()) {
|
if (stack_guard->IsInstallCodeRequest()) {
|
||||||
ASSERT(FLAG_concurrent_recompilation);
|
ASSERT(FLAG_concurrent_recompilation);
|
||||||
isolate_->stack_guard()->Continue(INSTALL_CODE);
|
stack_guard->Continue(INSTALL_CODE);
|
||||||
isolate->optimizing_compiler_thread()->InstallOptimizedFunctions();
|
isolate->optimizing_compiler_thread()->InstallOptimizedFunctions();
|
||||||
}
|
}
|
||||||
isolate->runtime_profiler()->OptimizeNow();
|
isolate->runtime_profiler()->OptimizeNow();
|
||||||
|
@ -206,7 +206,7 @@ void OptimizingCompilerThread::InstallOptimizedFunctions() {
|
|||||||
OptimizingCompiler* compiler;
|
OptimizingCompiler* compiler;
|
||||||
while (true) {
|
while (true) {
|
||||||
{ LockGuard<Mutex> access_queue(&queue_mutex_);
|
{ LockGuard<Mutex> access_queue(&queue_mutex_);
|
||||||
if (!output_queue_.Dequeue(&optimizing_compiler)) break;
|
if (!output_queue_.Dequeue(&compiler)) break;
|
||||||
}
|
}
|
||||||
Compiler::InstallOptimizedCode(compiler);
|
Compiler::InstallOptimizedCode(compiler);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user