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_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
7 | 7 |
8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
9 #include "src/x87/assembler-x87-inl.h" | 9 #include "src/x87/assembler-x87-inl.h" |
10 #include "src/x87/assembler-x87.h" | 10 #include "src/x87/assembler-x87.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 #ifndef V8_INTERPRETED_REGEXP | 15 #ifndef V8_INTERPRETED_REGEXP |
16 class RegExpMacroAssemblerX87: public NativeRegExpMacroAssembler { | 16 class RegExpMacroAssemblerX87: public NativeRegExpMacroAssembler { |
17 public: | 17 public: |
18 RegExpMacroAssemblerX87(Mode mode, int registers_to_save, Zone* zone); | 18 RegExpMacroAssemblerX87(Isolate* isolate, Zone* zone, Mode mode, |
| 19 int registers_to_save); |
19 virtual ~RegExpMacroAssemblerX87(); | 20 virtual ~RegExpMacroAssemblerX87(); |
20 virtual int stack_limit_slack(); | 21 virtual int stack_limit_slack(); |
21 virtual void AdvanceCurrentPosition(int by); | 22 virtual void AdvanceCurrentPosition(int by); |
22 virtual void AdvanceRegister(int reg, int by); | 23 virtual void AdvanceRegister(int reg, int by); |
23 virtual void Backtrack(); | 24 virtual void Backtrack(); |
24 virtual void Bind(Label* label); | 25 virtual void Bind(Label* label); |
25 virtual void CheckAtStart(Label* on_at_start); | 26 virtual void CheckAtStart(Label* on_at_start); |
26 virtual void CheckCharacter(uint32_t c, Label* on_equal); | 27 virtual void CheckCharacter(uint32_t c, Label* on_equal); |
27 virtual void CheckCharacterAfterAnd(uint32_t c, | 28 virtual void CheckCharacterAfterAnd(uint32_t c, |
28 uint32_t mask, | 29 uint32_t mask, |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 Label backtrack_label_; | 192 Label backtrack_label_; |
192 Label exit_label_; | 193 Label exit_label_; |
193 Label check_preempt_label_; | 194 Label check_preempt_label_; |
194 Label stack_overflow_label_; | 195 Label stack_overflow_label_; |
195 }; | 196 }; |
196 #endif // V8_INTERPRETED_REGEXP | 197 #endif // V8_INTERPRETED_REGEXP |
197 | 198 |
198 }} // namespace v8::internal | 199 }} // namespace v8::internal |
199 | 200 |
200 #endif // V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ | 201 #endif // V8_X87_REGEXP_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |