| Index: src/optimizing-compiler-thread.cc
|
| diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc
|
| index 1e2e0a85df11a195fdced7f8911d76055bc4d708..825c158a89b14793b6b9e9b876bf07d63fc68a7a 100644
|
| --- a/src/optimizing-compiler-thread.cc
|
| +++ b/src/optimizing-compiler-thread.cc
|
| @@ -38,9 +38,7 @@ namespace internal {
|
|
|
|
|
| void OptimizingCompilerThread::Run() {
|
| -#ifdef DEBUG
|
| thread_id_ = ThreadId::Current().ToInteger();
|
| -#endif
|
| Isolate::SetIsolateThreadLocals(isolate_, NULL);
|
|
|
| int64_t epoch = 0;
|
| @@ -144,12 +142,10 @@ void OptimizingCompilerThread::QueueForOptimization(
|
| }
|
|
|
|
|
| -#ifdef DEBUG
|
| bool OptimizingCompilerThread::IsOptimizerThread() {
|
| if (!FLAG_parallel_recompilation) return false;
|
| return ThreadId::Current().ToInteger() == thread_id_;
|
| }
|
| -#endif
|
|
|
|
|
| } } // namespace v8::internal
|
|
|