OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
7 | 7 |
8 #include "src/regexp/regexp-macro-assembler.h" | 8 #include "src/regexp/regexp-macro-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 12 matching lines...) Expand all Loading... |
23 virtual void Backtrack(); | 23 virtual void Backtrack(); |
24 virtual void Bind(Label* label); | 24 virtual void Bind(Label* label); |
25 virtual void CheckAtStart(Label* on_at_start); | 25 virtual void CheckAtStart(Label* on_at_start); |
26 virtual void CheckCharacter(unsigned c, Label* on_equal); | 26 virtual void CheckCharacter(unsigned c, Label* on_equal); |
27 virtual void CheckCharacterAfterAnd(unsigned c, | 27 virtual void CheckCharacterAfterAnd(unsigned c, |
28 unsigned and_with, | 28 unsigned and_with, |
29 Label* on_equal); | 29 Label* on_equal); |
30 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 30 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
31 virtual void CheckCharacterLT(uc16 limit, Label* on_less); | 31 virtual void CheckCharacterLT(uc16 limit, Label* on_less); |
32 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); | 32 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
33 virtual void CheckNotAtStart(Label* on_not_at_start); | 33 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); |
34 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 34 virtual void CheckNotBackReference(int start_reg, bool read_backward, |
| 35 Label* on_no_match); |
35 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 36 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
| 37 bool read_backward, |
36 Label* on_no_match); | 38 Label* on_no_match); |
37 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); | 39 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); |
38 virtual void CheckNotCharacterAfterAnd(unsigned c, | 40 virtual void CheckNotCharacterAfterAnd(unsigned c, |
39 unsigned and_with, | 41 unsigned and_with, |
40 Label* on_not_equal); | 42 Label* on_not_equal); |
41 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, | 43 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, |
42 uc16 minus, | 44 uc16 minus, |
43 uc16 and_with, | 45 uc16 and_with, |
44 Label* on_not_equal); | 46 Label* on_not_equal); |
45 virtual void CheckCharacterInRange(uc16 from, | 47 virtual void CheckCharacterInRange(uc16 from, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void WriteStackPointerToRegister(int reg); | 80 virtual void WriteStackPointerToRegister(int reg); |
79 | 81 |
80 private: | 82 private: |
81 RegExpMacroAssembler* assembler_; | 83 RegExpMacroAssembler* assembler_; |
82 }; | 84 }; |
83 | 85 |
84 } // namespace internal | 86 } // namespace internal |
85 } // namespace v8 | 87 } // namespace v8 |
86 | 88 |
87 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 89 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
OLD | NEW |