OLD | NEW |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 private: | 97 private: |
98 // Offsets from frame_pointer() of function parameters and stored registers. | 98 // Offsets from frame_pointer() of function parameters and stored registers. |
99 static const int kFramePointer = 0; | 99 static const int kFramePointer = 0; |
100 | 100 |
101 // Above the frame pointer - Stored registers and stack passed parameters. | 101 // Above the frame pointer - Stored registers and stack passed parameters. |
102 // Register 4..11. | 102 // Register 4..11. |
103 static const int kStoredRegisters = kFramePointer; | 103 static const int kStoredRegisters = kFramePointer; |
104 // Return address (stored from link register, read into pc on return). | 104 // Return address (stored from link register, read into pc on return). |
105 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; | 105 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; |
106 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; | |
107 // Stack parameters placed by caller. | 106 // Stack parameters placed by caller. |
108 static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; | 107 static const int kRegisterOutput = kReturnAddress + kPointerSize; |
109 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; | 108 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; |
110 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; | 109 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; |
111 static const int kDirectCall = kStackHighEnd + kPointerSize; | 110 static const int kDirectCall = kStackHighEnd + kPointerSize; |
112 static const int kIsolate = kDirectCall + kPointerSize; | 111 static const int kIsolate = kDirectCall + kPointerSize; |
113 | 112 |
114 // Below the frame pointer. | 113 // Below the frame pointer. |
115 // Register parameters stored by setup code. | 114 // Register parameters stored by setup code. |
116 static const int kInputEnd = kFramePointer - kPointerSize; | 115 static const int kInputEnd = kFramePointer - kPointerSize; |
117 static const int kInputStart = kInputEnd - kPointerSize; | 116 static const int kInputStart = kInputEnd - kPointerSize; |
118 static const int kStartIndex = kInputStart - kPointerSize; | 117 static const int kStartIndex = kInputStart - kPointerSize; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 Label stack_overflow_label_; | 211 Label stack_overflow_label_; |
213 }; | 212 }; |
214 | 213 |
215 #endif // V8_INTERPRETED_REGEXP | 214 #endif // V8_INTERPRETED_REGEXP |
216 | 215 |
217 | 216 |
218 } // namespace internal | 217 } // namespace internal |
219 } // namespace v8 | 218 } // namespace v8 |
220 | 219 |
221 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 220 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |