git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-12-18 Xan Lopez <xan@gnome.org>
[WebKit-https.git]
/
JavaScriptCore
/
wtf
/
TCSpinLock.h
diff --git
a/JavaScriptCore/wtf/TCSpinLock.h
b/JavaScriptCore/wtf/TCSpinLock.h
index ef6474e9ea26f4821b207661eddc9ce865b81f8a..527dfaec49cfd7c0a6b2b187f87275d5f4ea5077 100644
(file)
--- a/
JavaScriptCore/wtf/TCSpinLock.h
+++ b/
JavaScriptCore/wtf/TCSpinLock.h
@@
-102,7
+102,11
@@
struct TCMalloc_SpinLock {
("isync\n\t"
"eieio\n\t"
"stw %1, %0"
("isync\n\t"
"eieio\n\t"
"stw %1, %0"
- : "=o" (lockword_)
+#if PLATFORM(DARWIN)
+ : "=o" (lockword_)
+#else
+ : "=m" (lockword_)
+#endif
: "r" (0)
: "memory");
#endif
: "r" (0)
: "memory");
#endif