OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 static const int kTableSizeBits = 7; | 49 static const int kTableSizeBits = 7; |
50 static const int kTableSize = 1 << kTableSizeBits; | 50 static const int kTableSize = 1 << kTableSizeBits; |
51 static const int kTableMask = kTableSize - 1; | 51 static const int kTableMask = kTableSize - 1; |
52 | 52 |
53 enum IrregexpImplementation { | 53 enum IrregexpImplementation { |
54 kIA32Implementation, | 54 kIA32Implementation, |
55 kARMImplementation, | 55 kARMImplementation, |
56 kMIPSImplementation, | 56 kMIPSImplementation, |
57 kX64Implementation, | 57 kX64Implementation, |
| 58 kX32Implementation, |
58 kBytecodeImplementation | 59 kBytecodeImplementation |
59 }; | 60 }; |
60 | 61 |
61 enum StackCheckFlag { | 62 enum StackCheckFlag { |
62 kNoStackLimitCheck = false, | 63 kNoStackLimitCheck = false, |
63 kCheckStackLimit = true | 64 kCheckStackLimit = true |
64 }; | 65 }; |
65 | 66 |
66 explicit RegExpMacroAssembler(Zone* zone); | 67 explicit RegExpMacroAssembler(Zone* zone); |
67 virtual ~RegExpMacroAssembler(); | 68 virtual ~RegExpMacroAssembler(); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 int* output, | 251 int* output, |
251 int output_size, | 252 int output_size, |
252 Isolate* isolate); | 253 Isolate* isolate); |
253 }; | 254 }; |
254 | 255 |
255 #endif // V8_INTERPRETED_REGEXP | 256 #endif // V8_INTERPRETED_REGEXP |
256 | 257 |
257 } } // namespace v8::internal | 258 } } // namespace v8::internal |
258 | 259 |
259 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ | 260 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ |
OLD | NEW |