Changeset 35476 in webkit for trunk/JavaScriptCore/kjs/dtoa.cpp
- Timestamp:
- Jul 31, 2008, 1:44:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/dtoa.cpp
r31948 r35476 169 169 namespace KJS { 170 170 171 #if USE(MULTIPLE_THREADS)171 #if ENABLE(JSC_MULTIPLE_THREADS) 172 172 Mutex* s_dtoaP5Mutex; 173 173 #endif … … 563 563 return b; 564 564 565 #if USE(MULTIPLE_THREADS)565 #if ENABLE(JSC_MULTIPLE_THREADS) 566 566 s_dtoaP5Mutex->lock(); 567 567 #endif … … 573 573 } 574 574 int p5s_count_local = p5s_count; 575 #if USE(MULTIPLE_THREADS)575 #if ENABLE(JSC_MULTIPLE_THREADS) 576 576 s_dtoaP5Mutex->unlock(); 577 577 #endif … … 588 588 589 589 if (++p5s_used == p5s_count_local) { 590 #if USE(MULTIPLE_THREADS)590 #if ENABLE(JSC_MULTIPLE_THREADS) 591 591 s_dtoaP5Mutex->lock(); 592 592 #endif … … 598 598 599 599 p5s_count_local = p5s_count; 600 #if USE(MULTIPLE_THREADS)600 #if ENABLE(JSC_MULTIPLE_THREADS) 601 601 s_dtoaP5Mutex->unlock(); 602 602 #endif … … 1826 1826 } 1827 1827 1828 #if ! USE(MULTIPLE_THREADS)1828 #if !ENABLE(JSC_MULTIPLE_THREADS) 1829 1829 static char* dtoa_result; 1830 1830 #endif … … 1842 1842 *r = k; 1843 1843 return 1844 #if ! USE(MULTIPLE_THREADS)1844 #if !ENABLE(JSC_MULTIPLE_THREADS) 1845 1845 dtoa_result = 1846 1846 #endif … … 1871 1871 b->maxwds = 1 << (b->k = *(int*)b); 1872 1872 Bfree(b); 1873 #if ! USE(MULTIPLE_THREADS)1873 #if !ENABLE(JSC_MULTIPLE_THREADS) 1874 1874 if (s == dtoa_result) 1875 1875 dtoa_result = 0; … … 1937 1937 #endif 1938 1938 1939 #if ! USE(MULTIPLE_THREADS)1939 #if !ENABLE(JSC_MULTIPLE_THREADS) 1940 1940 if (dtoa_result) { 1941 1941 freedtoa(dtoa_result);
Note:
See TracChangeset
for help on using the changeset viewer.