OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
7 | 7 |
8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
9 #include "src/regexp/regexp-macro-assembler.h" | 9 #include "src/regexp/regexp-macro-assembler.h" |
10 #include "src/x87/assembler-x87.h" | 10 #include "src/x87/assembler-x87.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 Label* on_equal); | 30 Label* on_equal); |
31 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 31 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
32 virtual void CheckCharacterLT(uc16 limit, Label* on_less); | 32 virtual void CheckCharacterLT(uc16 limit, Label* on_less); |
33 // A "greedy loop" is a loop that is both greedy and with a simple | 33 // A "greedy loop" is a loop that is both greedy and with a simple |
34 // body. It has a particularly simple implementation. | 34 // body. It has a particularly simple implementation. |
35 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); | 35 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); | 36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); |
37 virtual void CheckNotBackReference(int start_reg, bool read_backward, | 37 virtual void CheckNotBackReference(int start_reg, bool read_backward, |
38 Label* on_no_match); | 38 Label* on_no_match); |
39 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 39 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
40 bool read_backward, | 40 bool read_backward, bool unicode, |
41 Label* on_no_match); | 41 Label* on_no_match); |
42 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); | 42 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); |
43 virtual void CheckNotCharacterAfterAnd(uint32_t c, | 43 virtual void CheckNotCharacterAfterAnd(uint32_t c, |
44 uint32_t mask, | 44 uint32_t mask, |
45 Label* on_not_equal); | 45 Label* on_not_equal); |
46 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, | 46 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, |
47 uc16 minus, | 47 uc16 minus, |
48 uc16 mask, | 48 uc16 mask, |
49 Label* on_not_equal); | 49 Label* on_not_equal); |
50 virtual void CheckCharacterInRange(uc16 from, | 50 virtual void CheckCharacterInRange(uc16 from, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 Label exit_label_; | 195 Label exit_label_; |
196 Label check_preempt_label_; | 196 Label check_preempt_label_; |
197 Label stack_overflow_label_; | 197 Label stack_overflow_label_; |
198 }; | 198 }; |
199 #endif // V8_INTERPRETED_REGEXP | 199 #endif // V8_INTERPRETED_REGEXP |
200 | 200 |
201 } // namespace internal | 201 } // namespace internal |
202 } // namespace v8 | 202 } // namespace v8 |
203 | 203 |
204 #endif // V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 204 #endif // V8_REGEXP_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |