зеркало из https://github.com/mozilla/pjs.git
Inlcude the assembly language implementation of the stack operations only when
_PR_HAVE_ATOMIC_CAS is defined. Bugzilla #11576.
This commit is contained in:
Родитель
a5f6d1fab1
Коммит
c76f0051c7
|
@ -54,6 +54,7 @@ endif
|
|||
ifdef NS_USE_GCC
|
||||
CC = gcc -Wall
|
||||
CCC = g++ -Wall
|
||||
ASFLAGS += -Wa,-P
|
||||
COMPILER_TAG = _gcc
|
||||
ifdef NO_MDUPDATE
|
||||
OS_CFLAGS = $(NOMD_OS_CFLAGS)
|
||||
|
|
|
@ -59,6 +59,7 @@ sol_curthread:
|
|||
movl %ecx, %eax
|
||||
ret
|
||||
|
||||
#ifdef _PR_HAVE_ATOMIC_CAS
|
||||
/
|
||||
/ PR_StackPush(listp, elementp)
|
||||
/
|
||||
|
@ -137,3 +138,4 @@ empty:
|
|||
/ Return previous listp value (already in eax)
|
||||
ret
|
||||
|
||||
#endif / _PR_HAVE_ATOMIC_CAS
|
||||
|
|
Загрузка…
Ссылка в новой задаче