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

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

Issue 271543004: Reland - Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ip0 ip1 -> TmpList 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();
979 980
980 // Restore registers. 981 // Restore registers.
981 __ PopCPURegList(registers_to_retain); 982 __ PopCPURegList(registers_to_retain);
982 983
983 __ Ret(); 984 __ Ret();
984 985
985 Label exit_with_exception; 986 Label exit_with_exception;
986 // Registers x0 to x7 are used to store the first captures, they need to be 987 // Registers x0 to x7 are used to store the first captures, they need to be
987 // retained over calls to C++ code. 988 // retained over calls to C++ code.
988 CPURegList cached_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 7); 989 CPURegList cached_registers(CPURegister::kRegister, kXRegSizeInBits, 0, 7);
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW)); 1697 __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW));
1697 } 1698 }
1698 } 1699 }
1699 } 1700 }
1700 1701
1701 #endif // V8_INTERPRETED_REGEXP 1702 #endif // V8_INTERPRETED_REGEXP
1702 1703
1703 }} // namespace v8::internal 1704 }} // namespace v8::internal
1704 1705
1705 #endif // V8_TARGET_ARCH_ARM64 1706 #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