OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/arm/assembler-arm.h" | 8 #include "src/arm/assembler-arm.h" |
9 #include "src/arm/assembler-arm-inl.h" | 9 #include "src/arm/assembler-arm-inl.h" |
10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 | 15 |
16 #ifndef V8_INTERPRETED_REGEXP | 16 #ifndef V8_INTERPRETED_REGEXP |
17 class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { | 17 class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { |
18 public: | 18 public: |
19 RegExpMacroAssemblerARM(Mode mode, int registers_to_save, Zone* zone); | 19 RegExpMacroAssemblerARM(Isolate* isolate, Zone* zone, Mode mode, |
| 20 int registers_to_save); |
20 virtual ~RegExpMacroAssemblerARM(); | 21 virtual ~RegExpMacroAssemblerARM(); |
21 virtual int stack_limit_slack(); | 22 virtual int stack_limit_slack(); |
22 virtual void AdvanceCurrentPosition(int by); | 23 virtual void AdvanceCurrentPosition(int by); |
23 virtual void AdvanceRegister(int reg, int by); | 24 virtual void AdvanceRegister(int reg, int by); |
24 virtual void Backtrack(); | 25 virtual void Backtrack(); |
25 virtual void Bind(Label* label); | 26 virtual void Bind(Label* label); |
26 virtual void CheckAtStart(Label* on_at_start); | 27 virtual void CheckAtStart(Label* on_at_start); |
27 virtual void CheckCharacter(unsigned c, Label* on_equal); | 28 virtual void CheckCharacter(unsigned c, Label* on_equal); |
28 virtual void CheckCharacterAfterAnd(unsigned c, | 29 virtual void CheckCharacterAfterAnd(unsigned c, |
29 unsigned mask, | 30 unsigned mask, |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 Label check_preempt_label_; | 210 Label check_preempt_label_; |
210 Label stack_overflow_label_; | 211 Label stack_overflow_label_; |
211 }; | 212 }; |
212 | 213 |
213 #endif // V8_INTERPRETED_REGEXP | 214 #endif // V8_INTERPRETED_REGEXP |
214 | 215 |
215 | 216 |
216 }} // namespace v8::internal | 217 }} // namespace v8::internal |
217 | 218 |
218 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 219 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |