| 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 RUNTIME_VM_REGEXP_H_ | 5 #ifndef RUNTIME_VM_REGEXP_H_ |
| 6 #define RUNTIME_VM_REGEXP_H_ | 6 #define RUNTIME_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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 }; | 1391 }; |
| 1392 | 1392 |
| 1393 static CompilationResult CompileIR( | 1393 static CompilationResult CompileIR( |
| 1394 RegExpCompileData* input, | 1394 RegExpCompileData* input, |
| 1395 const ParsedFunction* parsed_function, | 1395 const ParsedFunction* parsed_function, |
| 1396 const ZoneGrowableArray<const ICData*>& ic_data_array); | 1396 const ZoneGrowableArray<const ICData*>& ic_data_array); |
| 1397 | 1397 |
| 1398 static CompilationResult CompileBytecode(RegExpCompileData* data, | 1398 static CompilationResult CompileBytecode(RegExpCompileData* data, |
| 1399 const RegExp& regexp, | 1399 const RegExp& regexp, |
| 1400 bool is_one_byte, | 1400 bool is_one_byte, |
| 1401 bool sticky, |
| 1401 Zone* zone); | 1402 Zone* zone); |
| 1402 | 1403 |
| 1403 static RawRegExp* CreateRegExp(Thread* thread, | 1404 static RawRegExp* CreateRegExp(Thread* thread, |
| 1404 const String& pattern, | 1405 const String& pattern, |
| 1405 bool multi_line, | 1406 bool multi_line, |
| 1406 bool ignore_case); | 1407 bool ignore_case); |
| 1407 | 1408 |
| 1408 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); | 1409 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); |
| 1409 }; | 1410 }; |
| 1410 | 1411 |
| 1411 } // namespace dart | 1412 } // namespace dart |
| 1412 | 1413 |
| 1413 #endif // RUNTIME_VM_REGEXP_H_ | 1414 #endif // RUNTIME_VM_REGEXP_H_ |
| OLD | NEW |