From: Dragan Mladjenovic Date: Mon, 12 Mar 2018 09:31:24 +0000 (+0100) Subject: Bug 1444834 : [MIPS] Stubout MacroAssembler::speculationBarrier; r=jandem X-Git-Tag: archive/raspbian/60.8.0esr-1+rpi1~3^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=02f880a0ec4ef2a47c2cf6253fd613549cd01824;p=firefox-esr.git Bug 1444834 : [MIPS] Stubout MacroAssembler::speculationBarrier; r=jandem Gbp-Pq: Topic fixes Gbp-Pq: Name Bug-1444834-MIPS-Stubout-MacroAssembler-speculationB.patch --- diff --git a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp index 4c138f7bf87..491283b8beb 100644 --- a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp +++ b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp @@ -2688,3 +2688,11 @@ void MacroAssembler::atomicEffectOpJS(Scalar::Type arrayType, } //}}} check_macroassembler_style + +// ======================================================================== +// Spectre Mitigations. + +void MacroAssembler::speculationBarrier() +{ + MOZ_CRASH(); +}