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_JSREGEXP_H_ | 5 #ifndef V8_JSREGEXP_H_ |
6 #define V8_JSREGEXP_H_ | 6 #define V8_JSREGEXP_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/zone-inl.h" | 10 #include "src/zone-inl.h" |
(...skipping 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 CompilationResult(Object* code, int registers) | 1654 CompilationResult(Object* code, int registers) |
1655 : error_message(NULL), | 1655 : error_message(NULL), |
1656 code(code), | 1656 code(code), |
1657 num_registers(registers) {} | 1657 num_registers(registers) {} |
1658 const char* error_message; | 1658 const char* error_message; |
1659 Object* code; | 1659 Object* code; |
1660 int num_registers; | 1660 int num_registers; |
1661 }; | 1661 }; |
1662 | 1662 |
1663 static CompilationResult Compile(RegExpCompileData* input, bool ignore_case, | 1663 static CompilationResult Compile(RegExpCompileData* input, bool ignore_case, |
1664 bool global, bool multiline, bool sticky, | 1664 bool global, bool multiline, |
1665 Handle<String> pattern, | 1665 Handle<String> pattern, |
1666 Handle<String> sample_subject, | 1666 Handle<String> sample_subject, |
1667 bool is_one_byte, Zone* zone); | 1667 bool is_one_byte, Zone* zone); |
1668 | 1668 |
1669 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); | 1669 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); |
1670 }; | 1670 }; |
1671 | 1671 |
1672 | 1672 |
1673 } } // namespace v8::internal | 1673 } } // namespace v8::internal |
1674 | 1674 |
1675 #endif // V8_JSREGEXP_H_ | 1675 #endif // V8_JSREGEXP_H_ |
OLD | NEW |