Changeset 53580 in webkit for trunk/JavaScriptCore/wtf/TCSpinLock.h
- Timestamp:
- Jan 20, 2010, 5:01:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/TCSpinLock.h
r52791 r53580 34 34 #define TCMALLOC_INTERNAL_SPINLOCK_H__ 35 35 36 #if (CPU(X86) || CPU( PPC)) && (COMPILER(GCC) || COMPILER(MSVC))36 #if (CPU(X86) || CPU(X86_64) || CPU(PPC)) && (COMPILER(GCC) || COMPILER(MSVC)) 37 37 38 38 #include <time.h> /* For nanosleep() */ … … 63 63 int r; 64 64 #if COMPILER(GCC) 65 #if CPU(X86) 65 #if CPU(X86) || CPU(X86_64) 66 66 __asm__ __volatile__ 67 67 ("xchgl %0, %1" … … 93 93 inline void Unlock() { 94 94 #if COMPILER(GCC) 95 #if CPU(X86) 95 #if CPU(X86) || CPU(X86_64) 96 96 __asm__ __volatile__ 97 97 ("movl $0, %0" … … 139 139 int r; 140 140 #if COMPILER(GCC) 141 #if CPU(X86) 141 #if CPU(X86) || CPU(X86_64) 142 142 __asm__ __volatile__ 143 143 ("xchgl %0, %1"
Note:
See TracChangeset
for help on using the changeset viewer.