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_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 5 #ifndef V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
6 #define V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 6 #define V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
7 | 7 |
| 8 #include "src/regexp-macro-assembler.h" |
| 9 |
8 namespace v8 { | 10 namespace v8 { |
9 namespace internal { | 11 namespace internal { |
10 | 12 |
11 #ifdef V8_INTERPRETED_REGEXP | 13 #ifdef V8_INTERPRETED_REGEXP |
12 | 14 |
13 class RegExpMacroAssemblerIrregexp: public RegExpMacroAssembler { | 15 class RegExpMacroAssemblerIrregexp: public RegExpMacroAssembler { |
14 public: | 16 public: |
15 // Create an assembler. Instructions and relocation information are emitted | 17 // Create an assembler. Instructions and relocation information are emitted |
16 // into a buffer, with the instructions starting from the beginning and the | 18 // into a buffer, with the instructions starting from the beginning and the |
17 // relocation information starting from the end of the buffer. See CodeDesc | 19 // relocation information starting from the end of the buffer. See CodeDesc |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static const int kInvalidPC = -1; | 118 static const int kInvalidPC = -1; |
117 | 119 |
118 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); | 120 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); |
119 }; | 121 }; |
120 | 122 |
121 #endif // V8_INTERPRETED_REGEXP | 123 #endif // V8_INTERPRETED_REGEXP |
122 | 124 |
123 } } // namespace v8::internal | 125 } } // namespace v8::internal |
124 | 126 |
125 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 127 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
OLD | NEW |