Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: src/optimizing-compiler-thread.h

Issue 14159028: Fixed an issue with HConstant::InNewSpace() for parallel compilation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Be able to recognize if running on the optimizer thread Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/optimizing-compiler-thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/optimizing-compiler-thread.h
diff --git a/src/optimizing-compiler-thread.h b/src/optimizing-compiler-thread.h
index 8cb5e2dd59dec0e26d81984e8d929d3e613ae8c0..79e07e06b246a2e341a4c3426db0ebe9859aae7f 100644
--- a/src/optimizing-compiler-thread.h
+++ b/src/optimizing-compiler-thread.h
@@ -44,9 +44,7 @@ class OptimizingCompilerThread : public Thread {
public:
explicit OptimizingCompilerThread(Isolate *isolate) :
Thread("OptimizingCompilerThread"),
-#ifdef DEBUG
thread_id_(0),
-#endif
isolate_(isolate),
stop_semaphore_(OS::CreateSemaphore(0)),
input_queue_semaphore_(OS::CreateSemaphore(0)),
@@ -76,9 +74,7 @@ class OptimizingCompilerThread : public Thread {
return (current_length < FLAG_parallel_recompilation_queue_length);
}
-#ifdef DEBUG
bool IsOptimizerThread();
-#endif
~OptimizingCompilerThread() {
delete input_queue_semaphore_;
@@ -86,9 +82,7 @@ class OptimizingCompilerThread : public Thread {
}
private:
-#ifdef DEBUG
int thread_id_;
-#endif
Isolate* isolate_;
Semaphore* stop_semaphore_;
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/optimizing-compiler-thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698