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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. | 63 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. |
64 virtual void SetRegister(int register_index, int to); | 64 virtual void SetRegister(int register_index, int to); |
65 virtual void WriteCurrentPositionToRegister(int reg); | 65 virtual void WriteCurrentPositionToRegister(int reg); |
66 virtual void ReadCurrentPositionFromRegister(int reg); | 66 virtual void ReadCurrentPositionFromRegister(int reg); |
67 virtual void WriteStackPointerToRegister(int reg); | 67 virtual void WriteStackPointerToRegister(int reg); |
68 virtual void ReadStackPointerFromRegister(int reg); | 68 virtual void ReadStackPointerFromRegister(int reg); |
69 virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input); | 69 virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input); |
70 virtual void CheckCharacterLT(uc16 limit, Label* on_less); | 70 virtual void CheckCharacterLT(uc16 limit, Label* on_less); |
71 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 71 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
72 virtual void CheckCharacter(uc16 c, Label* on_equal); | 72 virtual void CheckCharacter(uc16 c, Label* on_equal); |
| 73 virtual void CheckNotAtStart(Label* on_not_at_start); |
73 virtual void CheckNotCharacter(uc16 c, Label* on_not_equal); | 74 virtual void CheckNotCharacter(uc16 c, Label* on_not_equal); |
74 virtual void CheckNotCharacterAfterOr(uc16 c, uc16 mask, Label* on_not_equal); | 75 virtual void CheckNotCharacterAfterOr(uc16 c, uc16 mask, Label* on_not_equal); |
75 virtual void CheckNotCharacterAfterMinusOr(uc16 c, | 76 virtual void CheckNotCharacterAfterMinusOr(uc16 c, |
76 uc16 mask, | 77 uc16 mask, |
77 Label* on_not_equal); | 78 Label* on_not_equal); |
78 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 79 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
79 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 80 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
80 Label* on_no_match); | 81 Label* on_no_match); |
81 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); | 82 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); |
82 virtual void CheckCharacters(Vector<const uc16> str, | 83 virtual void CheckCharacters(Vector<const uc16> str, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 int pc_; | 117 int pc_; |
117 // True if the assembler owns the buffer, false if buffer is external. | 118 // True if the assembler owns the buffer, false if buffer is external. |
118 bool own_buffer_; | 119 bool own_buffer_; |
119 | 120 |
120 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); | 121 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); |
121 }; | 122 }; |
122 | 123 |
123 } } // namespace v8::internal | 124 } } // namespace v8::internal |
124 | 125 |
125 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 126 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
OLD | NEW |