Index: src/optimizing-compiler-thread.cc |
diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc |
index 8d5e16636d267cf33915635d8fd65e6e2d40e92a..029c115fcab978f1beef82e7fcfdeca2c83efde3 100644 |
--- a/src/optimizing-compiler-thread.cc |
+++ b/src/optimizing-compiler-thread.cc |
@@ -206,7 +206,7 @@ void OptimizingCompilerThread::InstallOptimizedFunctions() { |
OptimizingCompiler* compiler; |
while (true) { |
{ LockGuard<Mutex> access_queue(&queue_mutex_); |
- if (!output_queue_.Dequeue(&optimizing_compiler)) break; |
+ if (!output_queue_.Dequeue(&compiler)) break; |
} |
Compiler::InstallOptimizedCode(compiler); |
} |