Index: src/conversions.cc |
diff --git a/src/conversions.cc b/src/conversions.cc |
index 232eda08c933cf7bf6418e58edf1a0c2e66ee2c2..c34fe519c42f94c6652650c7acbd2c3d74e70c5c 100644 |
--- a/src/conversions.cc |
+++ b/src/conversions.cc |
@@ -430,24 +430,4 @@ char* DoubleToRadixCString(double value, int radix) { |
return builder.Finalize(); |
} |
- |
-static Mutex* dtoa_lock_one = OS::CreateMutex(); |
-static Mutex* dtoa_lock_zero = OS::CreateMutex(); |
- |
- |
} } // namespace v8::internal |
- |
- |
-extern "C" { |
-void ACQUIRE_DTOA_LOCK(int n) { |
- ASSERT(n == 0 || n == 1); |
- (n == 0 ? v8::internal::dtoa_lock_zero : v8::internal::dtoa_lock_one)->Lock(); |
-} |
- |
- |
-void FREE_DTOA_LOCK(int n) { |
- ASSERT(n == 0 || n == 1); |
- (n == 0 ? v8::internal::dtoa_lock_zero : v8::internal::dtoa_lock_one)-> |
- Unlock(); |
-} |
-} |