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_REGEXP_MACRO_ASSEMBLER_H_ | 5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_ |
6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_ | 6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/regexp/regexp-ast.h" | 9 #include "src/regexp/regexp-ast.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 static const int kTableSizeBits = 7; | 34 static const int kTableSizeBits = 7; |
35 static const int kTableSize = 1 << kTableSizeBits; | 35 static const int kTableSize = 1 << kTableSizeBits; |
36 static const int kTableMask = kTableSize - 1; | 36 static const int kTableMask = kTableSize - 1; |
37 | 37 |
38 enum IrregexpImplementation { | 38 enum IrregexpImplementation { |
39 kIA32Implementation, | 39 kIA32Implementation, |
40 kARMImplementation, | 40 kARMImplementation, |
41 kARM64Implementation, | 41 kARM64Implementation, |
42 kMIPSImplementation, | 42 kMIPSImplementation, |
| 43 kS390Implementation, |
43 kPPCImplementation, | 44 kPPCImplementation, |
44 kX64Implementation, | 45 kX64Implementation, |
45 kX87Implementation, | 46 kX87Implementation, |
46 kBytecodeImplementation | 47 kBytecodeImplementation |
47 }; | 48 }; |
48 | 49 |
49 enum StackCheckFlag { | 50 enum StackCheckFlag { |
50 kNoStackLimitCheck = false, | 51 kNoStackLimitCheck = false, |
51 kCheckStackLimit = true | 52 kCheckStackLimit = true |
52 }; | 53 }; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 int output_size, | 256 int output_size, |
256 Isolate* isolate); | 257 Isolate* isolate); |
257 }; | 258 }; |
258 | 259 |
259 #endif // V8_INTERPRETED_REGEXP | 260 #endif // V8_INTERPRETED_REGEXP |
260 | 261 |
261 } // namespace internal | 262 } // namespace internal |
262 } // namespace v8 | 263 } // namespace v8 |
263 | 264 |
264 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_ | 265 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_H_ |
OLD | NEW |