OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void AdvanceRegister(int reg, int by); | 46 virtual void AdvanceRegister(int reg, int by); |
47 virtual void Backtrack(); | 47 virtual void Backtrack(); |
48 virtual void Bind(Label* label); | 48 virtual void Bind(Label* label); |
49 virtual void CheckAtStart(Label* on_at_start); | 49 virtual void CheckAtStart(Label* on_at_start); |
50 virtual void CheckCharacter(unsigned c, Label* on_equal); | 50 virtual void CheckCharacter(unsigned c, Label* on_equal); |
51 virtual void CheckCharacterAfterAnd(unsigned c, | 51 virtual void CheckCharacterAfterAnd(unsigned c, |
52 unsigned mask, | 52 unsigned mask, |
53 Label* on_equal); | 53 Label* on_equal); |
54 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 54 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
55 virtual void CheckCharacterLT(uc16 limit, Label* on_less); | 55 virtual void CheckCharacterLT(uc16 limit, Label* on_less); |
56 virtual void CheckCharacters(Vector<const uc16> str, | |
57 int cp_offset, | |
58 Label* on_failure, | |
59 bool check_end_of_string); | |
60 // A "greedy loop" is a loop that is both greedy and with a simple | 56 // A "greedy loop" is a loop that is both greedy and with a simple |
61 // body. It has a particularly simple implementation. | 57 // body. It has a particularly simple implementation. |
62 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); | 58 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
63 virtual void CheckNotAtStart(Label* on_not_at_start); | 59 virtual void CheckNotAtStart(Label* on_not_at_start); |
64 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 60 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
65 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 61 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
66 Label* on_no_match); | 62 Label* on_no_match); |
67 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); | 63 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); |
68 virtual void CheckNotCharacterAfterAnd(unsigned c, | 64 virtual void CheckNotCharacterAfterAnd(unsigned c, |
69 unsigned mask, | 65 unsigned mask, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 Label check_preempt_label_; | 248 Label check_preempt_label_; |
253 Label stack_overflow_label_; | 249 Label stack_overflow_label_; |
254 }; | 250 }; |
255 | 251 |
256 #endif // V8_INTERPRETED_REGEXP | 252 #endif // V8_INTERPRETED_REGEXP |
257 | 253 |
258 | 254 |
259 }} // namespace v8::internal | 255 }} // namespace v8::internal |
260 | 256 |
261 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 257 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |