Cross Reference: firefox-15-ion_AsmJS_x86.patch
xref
: /
solaris-userland
/
components
/
desktop
/
firefox
/
patches
/
firefox-15-ion_AsmJS_x86.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
5525
N/A
REG_EIP is already defined elsewhere for Linux.
5525
N/A
Can potentially send upstream.
5253
N/A
5525
N/A
diff --git
a/js/src/asmjs/AsmJSSignalHandlers.cpp
b/js/src/asmjs/AsmJSSignalHandlers.cpp
5525
N/A
---
a/js/src/asmjs/AsmJSSignalHandlers.cpp
5525
N/A
+++
b/js/src/asmjs/AsmJSSignalHandlers.cpp
5525
N/A
@@ -116,6 +116,9 @@
5253
N/A
# define R14_sig(p) ((p)->sc_r14)
5253
N/A
# define R15_sig(p) ((p)->sc_r15)
5253
N/A
#elif defined(__linux__) || defined(SOLARIS)
5253
N/A
+# if defined(SOLARIS)
5253
N/A
+# define REG_EIP EIP
5525
N/A
+# endif
5253
N/A
# if defined(__linux__)
5253
N/A
# define XMM_sig(p,i) ((p)->
uc_mcontext.fpregs-
>_xmm[i])
5253
N/A
# define EIP_sig(p) ((p)->
uc_mcontext.gregs
[REG_EIP])