summaryrefslogtreecommitdiff
path: root/js/src/irregexp/NativeRegExpMacroAssembler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/irregexp/NativeRegExpMacroAssembler.cpp')
-rw-r--r--js/src/irregexp/NativeRegExpMacroAssembler.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/js/src/irregexp/NativeRegExpMacroAssembler.cpp b/js/src/irregexp/NativeRegExpMacroAssembler.cpp
index f2bee2dc54..a3756f5fff 100644
--- a/js/src/irregexp/NativeRegExpMacroAssembler.cpp
+++ b/js/src/irregexp/NativeRegExpMacroAssembler.cpp
@@ -131,14 +131,6 @@ NativeRegExpMacroAssembler::GenerateCode(JSContext* cx, bool match_only)
pushedNonVolatileRegisters++;
}
-#if defined(XP_IOS) && defined(JS_CODEGEN_ARM)
- // The stack is 4-byte aligned on iOS, force 8-byte alignment.
- masm.movePtr(StackPointer, temp0);
- masm.andPtr(Imm32(~7), StackPointer);
- masm.push(temp0);
- masm.push(temp0);
-#endif
-
#ifndef JS_CODEGEN_X86
// The InputOutputData* is stored as an argument, save it on the stack
// above the frame.
@@ -405,11 +397,6 @@ NativeRegExpMacroAssembler::GenerateCode(JSContext* cx, bool match_only)
masm.freeStack(frameSize);
#endif
-#if defined(XP_IOS) && defined(JS_CODEGEN_ARM)
- masm.pop(temp0);
- masm.movePtr(temp0, StackPointer);
-#endif
-
// Restore non-volatile registers which were saved on entry.
for (GeneralRegisterBackwardIterator iter(savedNonVolatileRegisters); iter.more(); ++iter)
masm.Pop(*iter);