| 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 "src/ast.h" | 8 #include "src/ast.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 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 kPPCImplementation, |
| 35 kX64Implementation, | 36 kX64Implementation, |
| 36 kX87Implementation, | 37 kX87Implementation, |
| 37 kBytecodeImplementation | 38 kBytecodeImplementation |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 enum StackCheckFlag { | 41 enum StackCheckFlag { |
| 41 kNoStackLimitCheck = false, | 42 kNoStackLimitCheck = false, |
| 42 kCheckStackLimit = true | 43 kCheckStackLimit = true |
| 43 }; | 44 }; |
| 44 | 45 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 int* output, | 230 int* output, |
| 230 int output_size, | 231 int output_size, |
| 231 Isolate* isolate); | 232 Isolate* isolate); |
| 232 }; | 233 }; |
| 233 | 234 |
| 234 #endif // V8_INTERPRETED_REGEXP | 235 #endif // V8_INTERPRETED_REGEXP |
| 235 | 236 |
| 236 } } // namespace v8::internal | 237 } } // namespace v8::internal |
| 237 | 238 |
| 238 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ | 239 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ |
| OLD | NEW |