OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_REGEXP_H_ | 5 #ifndef VM_REGEXP_H_ |
6 #define VM_REGEXP_H_ | 6 #define VM_REGEXP_H_ |
7 | 7 |
8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
9 #include "vm/intermediate_language.h" | 9 #include "vm/intermediate_language.h" |
10 #include "vm/flow_graph_compiler.h" | 10 #include "vm/flow_graph_compiler.h" |
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1413 intptr_t num_registers; | 1413 intptr_t num_registers; |
1414 }; | 1414 }; |
1415 | 1415 |
1416 static CompilationResult CompileIR( | 1416 static CompilationResult CompileIR( |
1417 RegExpCompileData* input, | 1417 RegExpCompileData* input, |
1418 const ParsedFunction* parsed_function, | 1418 const ParsedFunction* parsed_function, |
1419 const ZoneGrowableArray<const ICData*>& ic_data_array); | 1419 const ZoneGrowableArray<const ICData*>& ic_data_array); |
1420 | 1420 |
1421 static CompilationResult CompileBytecode( | 1421 static CompilationResult CompileBytecode( |
1422 RegExpCompileData* data, | 1422 RegExpCompileData* data, |
1423 const JSRegExp& regexp, | 1423 const RegExp& regexp, |
1424 bool is_one_byte, | 1424 bool is_one_byte, |
1425 Zone* zone); | 1425 Zone* zone); |
1426 | 1426 |
1427 static RawJSRegExp* CreateJSRegExp( | 1427 static RawRegExp* CreateRegExp( |
1428 Zone* zone, | 1428 Zone* zone, |
1429 const String& pattern, | 1429 const String& pattern, |
1430 bool multi_line, | 1430 bool multi_line, |
1431 bool ignore_case); | 1431 bool ignore_case); |
1432 | 1432 |
1433 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); | 1433 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); |
1434 }; | 1434 }; |
1435 | 1435 |
1436 } // namespace dart | 1436 } // namespace dart |
1437 | 1437 |
1438 #endif // VM_REGEXP_H_ | 1438 #endif // VM_REGEXP_H_ |
OLD | NEW |