| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 13 matching lines...) Expand all Loading... |
| 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #ifndef V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 28 #ifndef V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
| 29 #define V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 29 #define V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
| 30 | 30 |
| 31 namespace v8 { | 31 namespace v8 { |
| 32 namespace internal { | 32 namespace internal { |
| 33 | 33 |
| 34 #ifdef V8_NATIVE_REGEXP | 34 #ifndef V8_INTERPRETED_REGEXP |
| 35 | 35 |
| 36 class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { | 36 class RegExpMacroAssemblerX64: public NativeRegExpMacroAssembler { |
| 37 public: | 37 public: |
| 38 RegExpMacroAssemblerX64(Mode mode, int registers_to_save); | 38 RegExpMacroAssemblerX64(Mode mode, int registers_to_save); |
| 39 virtual ~RegExpMacroAssemblerX64(); | 39 virtual ~RegExpMacroAssemblerX64(); |
| 40 virtual int stack_limit_slack(); | 40 virtual int stack_limit_slack(); |
| 41 virtual void AdvanceCurrentPosition(int by); | 41 virtual void AdvanceCurrentPosition(int by); |
| 42 virtual void AdvanceRegister(int reg, int by); | 42 virtual void AdvanceRegister(int reg, int by); |
| 43 virtual void Backtrack(); | 43 virtual void Backtrack(); |
| 44 virtual void Bind(Label* label); | 44 virtual void Bind(Label* label); |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // Labels used internally. | 264 // Labels used internally. |
| 265 Label entry_label_; | 265 Label entry_label_; |
| 266 Label start_label_; | 266 Label start_label_; |
| 267 Label success_label_; | 267 Label success_label_; |
| 268 Label backtrack_label_; | 268 Label backtrack_label_; |
| 269 Label exit_label_; | 269 Label exit_label_; |
| 270 Label check_preempt_label_; | 270 Label check_preempt_label_; |
| 271 Label stack_overflow_label_; | 271 Label stack_overflow_label_; |
| 272 }; | 272 }; |
| 273 | 273 |
| 274 #endif // V8_NATIVE_REGEXP | 274 #endif // V8_INTERPRETED_REGEXP |
| 275 | 275 |
| 276 }} // namespace v8::internal | 276 }} // namespace v8::internal |
| 277 | 277 |
| 278 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 278 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |