OLD | NEW |
1 // Copyright 2008-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2008-2009 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 static const int kReturn_eip = kFramePointer + kPointerSize; | 121 static const int kReturn_eip = kFramePointer + kPointerSize; |
122 static const int kFrameAlign = kReturn_eip + kPointerSize; | 122 static const int kFrameAlign = kReturn_eip + kPointerSize; |
123 // Parameters. | 123 // Parameters. |
124 static const int kInputString = kFrameAlign; | 124 static const int kInputString = kFrameAlign; |
125 static const int kStartIndex = kInputString + kPointerSize; | 125 static const int kStartIndex = kInputString + kPointerSize; |
126 static const int kInputStart = kStartIndex + kPointerSize; | 126 static const int kInputStart = kStartIndex + kPointerSize; |
127 static const int kInputEnd = kInputStart + kPointerSize; | 127 static const int kInputEnd = kInputStart + kPointerSize; |
128 static const int kRegisterOutput = kInputEnd + kPointerSize; | 128 static const int kRegisterOutput = kInputEnd + kPointerSize; |
129 static const int kAtStart = kRegisterOutput + kPointerSize; | 129 static const int kAtStart = kRegisterOutput + kPointerSize; |
130 static const int kStackHighEnd = kAtStart + kPointerSize; | 130 static const int kStackHighEnd = kAtStart + kPointerSize; |
| 131 static const int kDirectCall = kStackHighEnd + kPointerSize; |
131 // Below the frame pointer - local stack variables. | 132 // Below the frame pointer - local stack variables. |
132 // When adding local variables remember to push space for them in | 133 // When adding local variables remember to push space for them in |
133 // the frame in GetCode. | 134 // the frame in GetCode. |
134 static const int kBackup_esi = kFramePointer - kPointerSize; | 135 static const int kBackup_esi = kFramePointer - kPointerSize; |
135 static const int kBackup_edi = kBackup_esi - kPointerSize; | 136 static const int kBackup_edi = kBackup_esi - kPointerSize; |
136 static const int kBackup_ebx = kBackup_edi - kPointerSize; | 137 static const int kBackup_ebx = kBackup_edi - kPointerSize; |
137 static const int kInputStartMinusOne = kBackup_ebx - kPointerSize; | 138 static const int kInputStartMinusOne = kBackup_ebx - kPointerSize; |
138 // First register address. Following registers are below it on the stack. | 139 // First register address. Following registers are below it on the stack. |
139 static const int kRegisterZero = kInputStartMinusOne - kPointerSize; | 140 static const int kRegisterZero = kInputStartMinusOne - kPointerSize; |
140 | 141 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 Label backtrack_label_; | 224 Label backtrack_label_; |
224 Label exit_label_; | 225 Label exit_label_; |
225 Label check_preempt_label_; | 226 Label check_preempt_label_; |
226 Label stack_overflow_label_; | 227 Label stack_overflow_label_; |
227 }; | 228 }; |
228 #endif // V8_NATIVE_REGEXP | 229 #endif // V8_NATIVE_REGEXP |
229 | 230 |
230 }} // namespace v8::internal | 231 }} // namespace v8::internal |
231 | 232 |
232 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ | 233 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |