mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1218640 - IonMonkey: MIPS64: Add support into irregexp. r=arai
--- js/src/irregexp/NativeRegExpMacroAssembler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
parent
0b4b1384b5
commit
dc117f3cb5
@ -410,7 +410,7 @@ NativeRegExpMacroAssembler::GenerateCode(JSContext* cx, bool match_only)
|
||||
LiveGeneralRegisterSet volatileRegs(GeneralRegisterSet::Volatile());
|
||||
#if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_ARM64)
|
||||
volatileRegs.add(Register::FromCode(Registers::lr));
|
||||
#elif defined(JS_CODEGEN_MIPS32)
|
||||
#elif defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_MIPS64)
|
||||
volatileRegs.add(Register::FromCode(Registers::ra));
|
||||
#endif
|
||||
volatileRegs.takeUnchecked(temp0);
|
||||
@ -1343,7 +1343,7 @@ NativeRegExpMacroAssembler::CanReadUnaligned()
|
||||
{
|
||||
#if defined(JS_CODEGEN_ARM)
|
||||
return !jit::HasAlignmentFault();
|
||||
#elif defined(JS_CODEGEN_MIPS32)
|
||||
#elif defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_MIPS64)
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user