OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // Which mode to generate code for (ASCII or UC16). | 216 // Which mode to generate code for (ASCII or UC16). |
217 Mode mode_; | 217 Mode mode_; |
218 | 218 |
219 // One greater than maximal register index actually used. | 219 // One greater than maximal register index actually used. |
220 int num_registers_; | 220 int num_registers_; |
221 | 221 |
222 // Number of registers to output at the end (the saved registers | 222 // Number of registers to output at the end (the saved registers |
223 // are always 0..num_saved_registers_-1) | 223 // are always 0..num_saved_registers_-1) |
224 int num_saved_registers_; | 224 int num_saved_registers_; |
225 | 225 |
226 // Manage a small pre-allocated pool for writing label targets | |
227 // to for pushing backtrack addresses. | |
228 int backtrack_constant_pool_offset_; | |
229 int backtrack_constant_pool_capacity_; | |
230 | |
231 // Labels used internally. | 226 // Labels used internally. |
232 Label entry_label_; | 227 Label entry_label_; |
233 Label start_label_; | 228 Label start_label_; |
234 Label success_label_; | 229 Label success_label_; |
235 Label backtrack_label_; | 230 Label backtrack_label_; |
236 Label exit_label_; | 231 Label exit_label_; |
237 Label check_preempt_label_; | 232 Label check_preempt_label_; |
238 Label stack_overflow_label_; | 233 Label stack_overflow_label_; |
239 }; | 234 }; |
240 | 235 |
241 #endif // V8_INTERPRETED_REGEXP | 236 #endif // V8_INTERPRETED_REGEXP |
242 | 237 |
243 | 238 |
244 }} // namespace v8::internal | 239 }} // namespace v8::internal |
245 | 240 |
246 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 241 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |