28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From: Dragan Mladjenovic <dragan.mladjenovic>
|
|
Date: Mon, 12 Mar 2018 10:31:24 +0100
|
|
Subject: Bug 1444834 : [MIPS] Stubout MacroAssembler::speculationBarrier
|
|
|
|
From upstream, via firefox-esr 60.2.0esr-1.
|
|
|
|
Reviewed-by: jandem
|
|
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1444834
|
|
Applied-upstream: 61, commit:https://hg.mozilla.org/mozilla-central/rev/739c536d2cd6
|
|
---
|
|
js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
Index: mozjs-60.8.0/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
|
|
===================================================================
|
|
--- mozjs-60.8.0.orig/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
|
|
+++ mozjs-60.8.0/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
|
|
@@ -2687,4 +2687,8 @@ void MacroAssembler::atomicEffectOpJS(Sc
|
|
maskTemp);
|
|
}
|
|
|
|
+// ========================================================================
|
|
+// Spectre Mitigations.
|
|
+
|
|
+void MacroAssembler::speculationBarrier() { MOZ_CRASH(); }
|
|
//}}} check_macroassembler_style
|
|
|