зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1180013 - Fix irregexp on ARM64. r=efaust
This commit is contained in:
Родитель
1cd1524b7d
Коммит
e10284a869
|
@ -123,7 +123,7 @@ NativeRegExpMacroAssembler::GenerateCode(JSContext* cx, bool match_only)
|
||||||
#ifdef JS_CODEGEN_ARM64
|
#ifdef JS_CODEGEN_ARM64
|
||||||
// ARM64 communicates stack address via sp, but uses a pseudo-sp for addressing.
|
// ARM64 communicates stack address via sp, but uses a pseudo-sp for addressing.
|
||||||
MOZ_ASSERT(!masm.GetStackPointer64().Is(sp));
|
MOZ_ASSERT(!masm.GetStackPointer64().Is(sp));
|
||||||
masm.moveStackPtrTo(masm.getStackPointer());
|
masm.Mov(masm.GetStackPointer64(), sp);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Push non-volatile registers which might be modified by jitcode.
|
// Push non-volatile registers which might be modified by jitcode.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче