Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: runtime/vm/regexp.h

Issue 2947143002: Revert "VM(RegExp): Allow OSR optimization of RegExp :matcher functions." (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/regexp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1386
1387 const char* error_message; 1387 const char* error_message;
1388 1388
1389 TypedData* bytecode; 1389 TypedData* bytecode;
1390 intptr_t num_registers; 1390 intptr_t num_registers;
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 intptr_t osr_id);
1398 1397
1399 static CompilationResult CompileBytecode(RegExpCompileData* data, 1398 static CompilationResult CompileBytecode(RegExpCompileData* data,
1400 const RegExp& regexp, 1399 const RegExp& regexp,
1401 bool is_one_byte, 1400 bool is_one_byte,
1402 bool sticky, 1401 bool sticky,
1403 Zone* zone); 1402 Zone* zone);
1404 1403
1405 static RawRegExp* CreateRegExp(Thread* thread, 1404 static RawRegExp* CreateRegExp(Thread* thread,
1406 const String& pattern, 1405 const String& pattern,
1407 bool multi_line, 1406 bool multi_line,
1408 bool ignore_case); 1407 bool ignore_case);
1409 1408
1410 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); 1409 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case);
1411 }; 1410 };
1412 1411
1413 } // namespace dart 1412 } // namespace dart
1414 1413
1415 #endif // RUNTIME_VM_REGEXP_H_ 1414 #endif // RUNTIME_VM_REGEXP_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/regexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698