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:
Heiher 2015-10-29 17:03:36 +08:00
parent 0b4b1384b5
commit dc117f3cb5

View File

@ -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;