| 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; |
| 106 // Stack parameters placed by caller. | 107 // Stack parameters placed by caller. |
| 107 static const int kRegisterOutput = kReturnAddress + kPointerSize; | 108 static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; |
| 108 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; | 109 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; |
| 109 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; | 110 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; |
| 110 static const int kDirectCall = kStackHighEnd + kPointerSize; | 111 static const int kDirectCall = kStackHighEnd + kPointerSize; |
| 111 static const int kIsolate = kDirectCall + kPointerSize; | 112 static const int kIsolate = kDirectCall + kPointerSize; |
| 112 | 113 |
| 113 // Below the frame pointer. | 114 // Below the frame pointer. |
| 114 // Register parameters stored by setup code. | 115 // Register parameters stored by setup code. |
| 115 static const int kInputEnd = kFramePointer - kPointerSize; | 116 static const int kInputEnd = kFramePointer - kPointerSize; |
| 116 static const int kInputStart = kInputEnd - kPointerSize; | 117 static const int kInputStart = kInputEnd - kPointerSize; |
| 117 static const int kStartIndex = kInputStart - kPointerSize; | 118 static const int kStartIndex = kInputStart - kPointerSize; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 Label stack_overflow_label_; | 212 Label stack_overflow_label_; |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 #endif // V8_INTERPRETED_REGEXP | 215 #endif // V8_INTERPRETED_REGEXP |
| 215 | 216 |
| 216 | 217 |
| 217 } // namespace internal | 218 } // namespace internal |
| 218 } // namespace v8 | 219 } // namespace v8 |
| 219 | 220 |
| 220 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 221 #endif // V8_REGEXP_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |