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:
yangguo@chromium.org 2013-09-16 16:09:07 +00:00
parent ea5ab721e4
commit 1d07d3152c
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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);
} }