OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Above the frame pointer - Stored registers and stack passed parameters. | 120 // Above the frame pointer - Stored registers and stack passed parameters. |
121 // Register 4..11. | 121 // Register 4..11. |
122 static const int kStoredRegisters = kFramePointer; | 122 static const int kStoredRegisters = kFramePointer; |
123 // Return address (stored from link register, read into pc on return). | 123 // Return address (stored from link register, read into pc on return). |
124 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; | 124 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; |
125 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; | 125 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize; |
126 // Stack parameters placed by caller. | 126 // Stack parameters placed by caller. |
127 static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; | 127 static const int kRegisterOutput = kSecondaryReturnAddress + kPointerSize; |
128 static const int kStackHighEnd = kRegisterOutput + kPointerSize; | 128 static const int kStackHighEnd = kRegisterOutput + kPointerSize; |
129 static const int kDirectCall = kStackHighEnd + kPointerSize; | 129 static const int kDirectCall = kStackHighEnd + kPointerSize; |
| 130 static const int kIsolate = kDirectCall + kPointerSize; |
130 | 131 |
131 // Below the frame pointer. | 132 // Below the frame pointer. |
132 // Register parameters stored by setup code. | 133 // Register parameters stored by setup code. |
133 static const int kInputEnd = kFramePointer - kPointerSize; | 134 static const int kInputEnd = kFramePointer - kPointerSize; |
134 static const int kInputStart = kInputEnd - kPointerSize; | 135 static const int kInputStart = kInputEnd - kPointerSize; |
135 static const int kStartIndex = kInputStart - kPointerSize; | 136 static const int kStartIndex = kInputStart - kPointerSize; |
136 static const int kInputString = kStartIndex - kPointerSize; | 137 static const int kInputString = kStartIndex - kPointerSize; |
137 // When adding local variables remember to push space for them in | 138 // When adding local variables remember to push space for them in |
138 // the frame in GetCode. | 139 // the frame in GetCode. |
139 static const int kInputStartMinusOne = kInputString - kPointerSize; | 140 static const int kInputStartMinusOne = kInputString - kPointerSize; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 Label check_preempt_label_; | 244 Label check_preempt_label_; |
244 Label stack_overflow_label_; | 245 Label stack_overflow_label_; |
245 }; | 246 }; |
246 | 247 |
247 #endif // V8_INTERPRETED_REGEXP | 248 #endif // V8_INTERPRETED_REGEXP |
248 | 249 |
249 | 250 |
250 }} // namespace v8::internal | 251 }} // namespace v8::internal |
251 | 252 |
252 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 253 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |