OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 int cp_offset, | 59 int cp_offset, |
60 Label* on_failure, | 60 Label* on_failure, |
61 bool check_end_of_string); | 61 bool check_end_of_string); |
62 // A "greedy loop" is a loop that is both greedy and with a simple | 62 // A "greedy loop" is a loop that is both greedy and with a simple |
63 // body. It has a particularly simple implementation. | 63 // body. It has a particularly simple implementation. |
64 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); | 64 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
65 virtual void CheckNotAtStart(Label* on_not_at_start); | 65 virtual void CheckNotAtStart(Label* on_not_at_start); |
66 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 66 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
67 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 67 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
68 Label* on_no_match); | 68 Label* on_no_match); |
69 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); | |
70 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); | 69 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); |
71 virtual void CheckNotCharacterAfterAnd(uint32_t c, | 70 virtual void CheckNotCharacterAfterAnd(uint32_t c, |
72 uint32_t mask, | 71 uint32_t mask, |
73 Label* on_not_equal); | 72 Label* on_not_equal); |
74 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, | 73 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, |
75 uc16 minus, | 74 uc16 minus, |
76 uc16 mask, | 75 uc16 mask, |
77 Label* on_not_equal); | 76 Label* on_not_equal); |
78 virtual void CheckCharacterInRange(uc16 from, | 77 virtual void CheckCharacterInRange(uc16 from, |
79 uc16 to, | 78 uc16 to, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 Label exit_label_; | 286 Label exit_label_; |
288 Label check_preempt_label_; | 287 Label check_preempt_label_; |
289 Label stack_overflow_label_; | 288 Label stack_overflow_label_; |
290 }; | 289 }; |
291 | 290 |
292 #endif // V8_INTERPRETED_REGEXP | 291 #endif // V8_INTERPRETED_REGEXP |
293 | 292 |
294 }} // namespace v8::internal | 293 }} // namespace v8::internal |
295 | 294 |
296 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 295 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |