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

Side by Side Diff: src/regexp/arm/regexp-macro-assembler-arm.h

Issue 2184823002: [arm] Clean up the use of UNALIGNED_ACCESSES. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | src/regexp/arm/regexp-macro-assembler-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
6 #define V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/arm/assembler-arm.h" 8 #include "src/arm/assembler-arm.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 #include "src/regexp/regexp-macro-assembler.h" 10 #include "src/regexp/regexp-macro-assembler.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void PushRegister(int register_index, 79 virtual void PushRegister(int register_index,
80 StackCheckFlag check_stack_limit); 80 StackCheckFlag check_stack_limit);
81 virtual void ReadCurrentPositionFromRegister(int reg); 81 virtual void ReadCurrentPositionFromRegister(int reg);
82 virtual void ReadStackPointerFromRegister(int reg); 82 virtual void ReadStackPointerFromRegister(int reg);
83 virtual void SetCurrentPositionFromEnd(int by); 83 virtual void SetCurrentPositionFromEnd(int by);
84 virtual void SetRegister(int register_index, int to); 84 virtual void SetRegister(int register_index, int to);
85 virtual bool Succeed(); 85 virtual bool Succeed();
86 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); 86 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
87 virtual void ClearRegisters(int reg_from, int reg_to); 87 virtual void ClearRegisters(int reg_from, int reg_to);
88 virtual void WriteStackPointerToRegister(int reg); 88 virtual void WriteStackPointerToRegister(int reg);
89 virtual bool CanReadUnaligned();
90 89
91 // Called from RegExp if the stack-guard is triggered. 90 // Called from RegExp if the stack-guard is triggered.
92 // If the code object is relocated, the return address is fixed before 91 // If the code object is relocated, the return address is fixed before
93 // returning. 92 // returning.
94 static int CheckStackGuardState(Address* return_address, 93 static int CheckStackGuardState(Address* return_address,
95 Code* re_code, 94 Code* re_code,
96 Address re_frame); 95 Address re_frame);
97 96
98 private: 97 private:
99 // Offsets from frame_pointer() of function parameters and stored registers. 98 // Offsets from frame_pointer() of function parameters and stored registers.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 Label stack_overflow_label_; 212 Label stack_overflow_label_;
214 }; 213 };
215 214
216 #endif // V8_INTERPRETED_REGEXP 215 #endif // V8_INTERPRETED_REGEXP
217 216
218 217
219 } // namespace internal 218 } // namespace internal
220 } // namespace v8 219 } // namespace v8
221 220
222 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 221 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | src/regexp/arm/regexp-macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698