Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: src/arm64/regexp-macro-assembler-arm64.cc

Issue 271623002: Revert "Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not." and "Arm64… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/macro-assembler-arm64-inl.h ('k') | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "cpu-profiler.h" 9 #include "cpu-profiler.h"
10 #include "unicode.h" 10 #include "unicode.h"
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 if (global()) { 969 if (global()) {
970 __ Ldr(w0, MemOperand(frame_pointer(), kSuccessCounter)); 970 __ Ldr(w0, MemOperand(frame_pointer(), kSuccessCounter));
971 } 971 }
972 } 972 }
973 973
974 __ Bind(&return_w0); 974 __ Bind(&return_w0);
975 975
976 // Set stack pointer back to first register to retain 976 // Set stack pointer back to first register to retain
977 ASSERT(csp.Is(__ StackPointer())); 977 ASSERT(csp.Is(__ StackPointer()));
978 __ Mov(csp, fp); 978 __ Mov(csp, fp);
979 __ AssertStackConsistency();
980 979
981 // Restore registers. 980 // Restore registers.
982 __ PopCPURegList(registers_to_retain); 981 __ PopCPURegList(registers_to_retain);
983 982
984 __ Ret(); 983 __ Ret();
985 984
986 Label exit_with_exception; 985 Label exit_with_exception;
987 // Registers x0 to x7 are used to store the first captures, they need to be 986 // Registers x0 to x7 are used to store the first captures, they need to be
988 // retained over calls to C++ code. 987 // retained over calls to C++ code.
989 CPURegList cached_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 7); 988 CPURegList cached_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 7);
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW)); 1696 __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW));
1698 } 1697 }
1699 } 1698 }
1700 } 1699 }
1701 1700
1702 #endif // V8_INTERPRETED_REGEXP 1701 #endif // V8_INTERPRETED_REGEXP
1703 1702
1704 }} // namespace v8::internal 1703 }} // namespace v8::internal
1705 1704
1706 #endif // V8_TARGET_ARCH_ARM64 1705 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64-inl.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698