| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 // Which mode to generate code for (ASCII or UC16). | 290 // Which mode to generate code for (ASCII or UC16). |
| 291 Mode mode_; | 291 Mode mode_; |
| 292 | 292 |
| 293 // One greater than maximal register index actually used. | 293 // One greater than maximal register index actually used. |
| 294 int num_registers_; | 294 int num_registers_; |
| 295 | 295 |
| 296 // Number of registers to output at the end (the saved registers | 296 // Number of registers to output at the end (the saved registers |
| 297 // are always 0..num_saved_registers_-1) | 297 // are always 0..num_saved_registers_-1) |
| 298 int num_saved_registers_; | 298 int num_saved_registers_; |
| 299 | 299 |
| 300 // Manage a small pre-allocated pool for writing label targets | |
| 301 // to for pushing backtrack addresses. | |
| 302 int backtrack_constant_pool_offset_; | |
| 303 int backtrack_constant_pool_capacity_; | |
| 304 | |
| 305 // Labels used internally. | 300 // Labels used internally. |
| 306 Label entry_label_; | 301 Label entry_label_; |
| 307 Label start_label_; | 302 Label start_label_; |
| 308 Label success_label_; | 303 Label success_label_; |
| 309 Label backtrack_label_; | 304 Label backtrack_label_; |
| 310 Label exit_label_; | 305 Label exit_label_; |
| 311 Label check_preempt_label_; | 306 Label check_preempt_label_; |
| 312 Label stack_overflow_label_; | 307 Label stack_overflow_label_; |
| 313 }; | 308 }; |
| 314 | 309 |
| 315 #endif // V8_INTERPRETED_REGEXP | 310 #endif // V8_INTERPRETED_REGEXP |
| 316 | 311 |
| 317 | 312 |
| 318 }} // namespace v8::internal | 313 }} // namespace v8::internal |
| 319 | 314 |
| 320 #endif // V8_A64_REGEXP_MACRO_ASSEMBLER_A64_H_ | 315 #endif // V8_A64_REGEXP_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |