Index: src/optimizing-compiler-thread.cc |
diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc |
index d93f6714dc4c7ce8adaadc6835b5078021e6de8e..0d4e4a693a9a0d594146aec0ee2dea1dd12bcc44 100644 |
--- a/src/optimizing-compiler-thread.cc |
+++ b/src/optimizing-compiler-thread.cc |
@@ -127,8 +127,9 @@ Handle<SharedFunctionInfo> |
output_queue_semaphore_->Wait(); |
OptimizingCompiler* compiler = NULL; |
output_queue_.Dequeue(&compiler); |
+ Handle<SharedFunctionInfo> shared = compiler->info()->shared_info(); |
Yang
2012/11/23 15:46:20
compiler->info() gets deallocated in InstallOptimi
|
Compiler::InstallOptimizedCode(compiler); |
- return compiler->info()->shared_info(); |
+ return shared; |
} |