OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 60 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
61 virtual void CheckCharacter(uc16 c, Label* on_equal); | 61 virtual void CheckCharacter(uc16 c, Label* on_equal); |
62 virtual void CheckNotCharacter(uc16 c, Label* on_not_equal); | 62 virtual void CheckNotCharacter(uc16 c, Label* on_not_equal); |
63 virtual void CheckNotCharacterAfterOr(uc16 c, uc16 mask, Label* on_not_equal); | 63 virtual void CheckNotCharacterAfterOr(uc16 c, uc16 mask, Label* on_not_equal); |
64 virtual void CheckNotCharacterAfterMinusOr(uc16 c, | 64 virtual void CheckNotCharacterAfterMinusOr(uc16 c, |
65 uc16 mask, | 65 uc16 mask, |
66 Label* on_not_equal); | 66 Label* on_not_equal); |
67 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 67 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
68 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 68 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
69 Label* on_no_match); | 69 Label* on_no_match); |
| 70 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); |
70 virtual void CheckCharacters(Vector<const uc16> str, | 71 virtual void CheckCharacters(Vector<const uc16> str, |
71 int cp_offset, | 72 int cp_offset, |
72 Label* on_failure); | 73 Label* on_failure); |
73 virtual void CheckCurrentPosition(int register_index, Label* on_equal); | 74 virtual void CheckCurrentPosition(int register_index, Label* on_equal); |
74 virtual void CheckBitmap(uc16 start, Label* bitmap, Label* on_zero); | 75 virtual void CheckBitmap(uc16 start, Label* bitmap, Label* on_zero); |
75 virtual void DispatchHalfNibbleMap(uc16 start, | 76 virtual void DispatchHalfNibbleMap(uc16 start, |
76 Label* half_nibble_map, | 77 Label* half_nibble_map, |
77 const Vector<Label*>& destinations); | 78 const Vector<Label*>& destinations); |
78 virtual void DispatchByteMap(uc16 start, | 79 virtual void DispatchByteMap(uc16 start, |
79 Label* byte_map, | 80 Label* byte_map, |
80 const Vector<Label*>& destinations); | 81 const Vector<Label*>& destinations); |
81 virtual void DispatchHighByteMap(byte start, | 82 virtual void DispatchHighByteMap(byte start, |
82 Label* byte_map, | 83 Label* byte_map, |
83 const Vector<Label*>& destinations); | 84 const Vector<Label*>& destinations); |
84 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt); | 85 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt); |
85 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge); | 86 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge); |
86 | 87 |
87 virtual IrregexpImplementation Implementation(); | 88 virtual IrregexpImplementation Implementation(); |
88 virtual Handle<Object> GetCode(); | 89 virtual Handle<Object> GetCode(); |
89 private: | 90 private: |
90 IrregexpAssembler* assembler_; | 91 IrregexpAssembler* assembler_; |
91 }; | 92 }; |
92 | 93 |
93 } } // namespace v8::internal | 94 } } // namespace v8::internal |
94 | 95 |
95 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 96 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
OLD | NEW |