From ee6172f488a83ac8202805e0444d38db6ce94d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 4 Aug 2020 21:50:38 +0200 Subject: [PATCH] mozjs68: really fix mips* --- srcpkgs/mozjs68/patches/008-fix-mips32-inl.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/srcpkgs/mozjs68/patches/008-fix-mips32-inl.patch b/srcpkgs/mozjs68/patches/008-fix-mips32-inl.patch index fa47a2015fc..9c964e35299 100644 --- a/srcpkgs/mozjs68/patches/008-fix-mips32-inl.patch +++ b/srcpkgs/mozjs68/patches/008-fix-mips32-inl.patch @@ -10,6 +10,22 @@ diff --git a/js/src/jit/mips32/MacroAssembler-mips32-inl.h b/js/src/jit/mips32/M index 1f7f4d1cf31..06d8773e92a 100644 --- a/js/src/jit/mips32/MacroAssembler-mips32-inl.h +++ b/js/src/jit/mips32/MacroAssembler-mips32-inl.h +@@ -69,6 +69,15 @@ + } + + // =============================================================== ++// Load instructions ++ ++void MacroAssembler::load32SignExtendToPtr(const Address& src, Register dest) { ++ loadPtr(src, dest); ++} ++ ++// =============================================================== ++ ++// =============================================================== + // Logical instructions + + void MacroAssembler::andPtr(Register src, Register dest) { ma_and(dest, src); } @@ -820,19 +820,21 @@ void MacroAssembler::branchTestSymbol(Condition cond, const ValueOperand& value, void MacroAssembler::branchTestBigInt(Condition cond, Register tag,