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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 uc16 minus, | 44 uc16 minus, |
45 uc16 and_with, | 45 uc16 and_with, |
46 Label* on_not_equal); | 46 Label* on_not_equal); |
47 virtual void CheckCharacterInRange(uc16 from, | 47 virtual void CheckCharacterInRange(uc16 from, |
48 uc16 to, | 48 uc16 to, |
49 Label* on_in_range); | 49 Label* on_in_range); |
50 virtual void CheckCharacterNotInRange(uc16 from, | 50 virtual void CheckCharacterNotInRange(uc16 from, |
51 uc16 to, | 51 uc16 to, |
52 Label* on_not_in_range); | 52 Label* on_not_in_range); |
53 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set); | 53 virtual void CheckBitInTable(Handle<ByteArray> table, Label* on_bit_set); |
| 54 virtual void CheckPosition(int cp_offset, Label* on_outside_input); |
54 virtual bool CheckSpecialCharacterClass(uc16 type, | 55 virtual bool CheckSpecialCharacterClass(uc16 type, |
55 Label* on_no_match); | 56 Label* on_no_match); |
56 virtual void Fail(); | 57 virtual void Fail(); |
57 virtual Handle<HeapObject> GetCode(Handle<String> source); | 58 virtual Handle<HeapObject> GetCode(Handle<String> source); |
58 virtual void GoTo(Label* label); | 59 virtual void GoTo(Label* label); |
59 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); | 60 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); |
60 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); | 61 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); |
61 virtual void IfRegisterEqPos(int reg, Label* if_eq); | 62 virtual void IfRegisterEqPos(int reg, Label* if_eq); |
62 virtual IrregexpImplementation Implementation(); | 63 virtual IrregexpImplementation Implementation(); |
63 virtual void LoadCurrentCharacter(int cp_offset, | 64 virtual void LoadCurrentCharacter(int cp_offset, |
(...skipping 16 matching lines...) Expand all Loading... |
80 virtual void WriteStackPointerToRegister(int reg); | 81 virtual void WriteStackPointerToRegister(int reg); |
81 | 82 |
82 private: | 83 private: |
83 RegExpMacroAssembler* assembler_; | 84 RegExpMacroAssembler* assembler_; |
84 }; | 85 }; |
85 | 86 |
86 } // namespace internal | 87 } // namespace internal |
87 } // namespace v8 | 88 } // namespace v8 |
88 | 89 |
89 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 90 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
OLD | NEW |