Commit c2186949 authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

Bug 1370696: Unbreak ARM64 build; r=bustage

MozReview-Commit-ID: 4zz2YWq1Fxv

--HG--
extra : rebase_source : ff49cb7b76718b568c2400e7b0d938510c9a3e5c
parent 71c52fe0
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -164,6 +164,7 @@ class AutoSetHandlingSegFault
#  define EPC_sig(p) ((p)->uc_mcontext.pc)
#  define EPC_sig(p) ((p)->uc_mcontext.pc)
#  define RFP_sig(p) ((p)->uc_mcontext.regs[29])
#  define RFP_sig(p) ((p)->uc_mcontext.regs[29])
#  define RLR_sig(p) ((p)->uc_mcontext.regs[30])
#  define RLR_sig(p) ((p)->uc_mcontext.regs[30])
#  define R31_sig(p) ((p)->uc_mcontext.regs[31])
# endif
# endif
# if defined(__linux__) && defined(__mips__)
# if defined(__linux__) && defined(__mips__)
#  define EPC_sig(p) ((p)->uc_mcontext.pc)
#  define EPC_sig(p) ((p)->uc_mcontext.pc)
@@ -402,7 +403,7 @@ struct macos_arm_context {
#elif defined(__aarch64__)
#elif defined(__aarch64__)
# define PC_sig(p) EPC_sig(p)
# define PC_sig(p) EPC_sig(p)
# define FP_sig(p) RFP_sig(p)
# define FP_sig(p) RFP_sig(p)
# define SP_sig(p) RSP_sig(p)
# define SP_sig(p) R31_sig(p)
# define LR_sig(p) RLR_sig(p)
# define LR_sig(p) RLR_sig(p)
#elif defined(__mips__)
#elif defined(__mips__)
# define PC_sig(p) EPC_sig(p)
# define PC_sig(p) EPC_sig(p)