From ae8a2a0eeee6f146175469f534be167f152ade55 Mon Sep 17 00:00:00 2001 From: Dragan Mladjenovic Date: Mon, 12 Mar 2018 10:31:24 +0100 Subject: [PATCH] Bug 1444834 : [MIPS] Stubout MacroAssembler::speculationBarrier; r=jandem Gbp-Pq: Topic fixes Gbp-Pq: Name Bug-1444834-MIPS-Stubout-MacroAssembler-speculationB.patch --- js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); +} -- 2.30.2