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_H_ | 5 #ifndef V8_REGEXP_MACRO_ASSEMBLER_H_ |
6 #define V8_REGEXP_MACRO_ASSEMBLER_H_ | 6 #define V8_REGEXP_MACRO_ASSEMBLER_H_ |
7 | 7 |
8 #include "ast.h" | 8 #include "ast.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 15 matching lines...) Expand all Loading... |
26 static const int kTableSizeBits = 7; | 26 static const int kTableSizeBits = 7; |
27 static const int kTableSize = 1 << kTableSizeBits; | 27 static const int kTableSize = 1 << kTableSizeBits; |
28 static const int kTableMask = kTableSize - 1; | 28 static const int kTableMask = kTableSize - 1; |
29 | 29 |
30 enum IrregexpImplementation { | 30 enum IrregexpImplementation { |
31 kIA32Implementation, | 31 kIA32Implementation, |
32 kARMImplementation, | 32 kARMImplementation, |
33 kARM64Implementation, | 33 kARM64Implementation, |
34 kMIPSImplementation, | 34 kMIPSImplementation, |
35 kX64Implementation, | 35 kX64Implementation, |
| 36 kX87Implementation, |
36 kBytecodeImplementation | 37 kBytecodeImplementation |
37 }; | 38 }; |
38 | 39 |
39 enum StackCheckFlag { | 40 enum StackCheckFlag { |
40 kNoStackLimitCheck = false, | 41 kNoStackLimitCheck = false, |
41 kCheckStackLimit = true | 42 kCheckStackLimit = true |
42 }; | 43 }; |
43 | 44 |
44 explicit RegExpMacroAssembler(Zone* zone); | 45 explicit RegExpMacroAssembler(Zone* zone); |
45 virtual ~RegExpMacroAssembler(); | 46 virtual ~RegExpMacroAssembler(); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 int* output, | 229 int* output, |
229 int output_size, | 230 int output_size, |
230 Isolate* isolate); | 231 Isolate* isolate); |
231 }; | 232 }; |
232 | 233 |
233 #endif // V8_INTERPRETED_REGEXP | 234 #endif // V8_INTERPRETED_REGEXP |
234 | 235 |
235 } } // namespace v8::internal | 236 } } // namespace v8::internal |
236 | 237 |
237 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ | 238 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ |
OLD | NEW |