Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 0e7b6d55d1521965efb3c4b7a04974e66c19d3cd..2450d36bad4104c4e091191431471b84e0e73a86 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -226,8 +226,8 @@ class PreallocatedMemoryThread: public Thread { |
PreallocatedMemoryThread() |
: Thread("v8:PreallocMem"), |
keep_running_(true), |
- wait_for_ever_semaphore_(OS::CreateSemaphore(0)), |
- data_ready_semaphore_(OS::CreateSemaphore(0)), |
+ wait_for_ever_semaphore_(new Semaphore(0)), |
+ data_ready_semaphore_(new Semaphore(0)), |
data_(NULL), |
length_(0) { |
} |