| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 | 5 |
| 6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| 7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| 8 | 8 |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 #include "src/mips/assembler-mips-inl.h" | 10 #include "src/mips/assembler-mips-inl.h" |
| 11 #include "src/mips/assembler-mips.h" | 11 #include "src/mips/assembler-mips.h" |
| 12 #include "src/mips/macro-assembler-mips.h" | 12 #include "src/mips/macro-assembler-mips.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 #ifndef V8_INTERPRETED_REGEXP | 17 #ifndef V8_INTERPRETED_REGEXP |
| 18 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { | 18 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
| 19 public: | 19 public: |
| 20 RegExpMacroAssemblerMIPS(Mode mode, int registers_to_save, Zone* zone); | 20 RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone, Mode mode, |
| 21 int registers_to_save); |
| 21 virtual ~RegExpMacroAssemblerMIPS(); | 22 virtual ~RegExpMacroAssemblerMIPS(); |
| 22 virtual int stack_limit_slack(); | 23 virtual int stack_limit_slack(); |
| 23 virtual void AdvanceCurrentPosition(int by); | 24 virtual void AdvanceCurrentPosition(int by); |
| 24 virtual void AdvanceRegister(int reg, int by); | 25 virtual void AdvanceRegister(int reg, int by); |
| 25 virtual void Backtrack(); | 26 virtual void Backtrack(); |
| 26 virtual void Bind(Label* label); | 27 virtual void Bind(Label* label); |
| 27 virtual void CheckAtStart(Label* on_at_start); | 28 virtual void CheckAtStart(Label* on_at_start); |
| 28 virtual void CheckCharacter(uint32_t c, Label* on_equal); | 29 virtual void CheckCharacter(uint32_t c, Label* on_equal); |
| 29 virtual void CheckCharacterAfterAnd(uint32_t c, | 30 virtual void CheckCharacterAfterAnd(uint32_t c, |
| 30 uint32_t mask, | 31 uint32_t mask, |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 Label stack_overflow_label_; | 218 Label stack_overflow_label_; |
| 218 Label internal_failure_label_; | 219 Label internal_failure_label_; |
| 219 }; | 220 }; |
| 220 | 221 |
| 221 #endif // V8_INTERPRETED_REGEXP | 222 #endif // V8_INTERPRETED_REGEXP |
| 222 | 223 |
| 223 | 224 |
| 224 }} // namespace v8::internal | 225 }} // namespace v8::internal |
| 225 | 226 |
| 226 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 227 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |