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

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

Issue 2510783002: VM: Optimize RegExp.matchAsPrefix(...) by generating a sticky RegExp specialization. (Closed)
Patch Set: Done Created 4 years, 1 month 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/bootstrap_natives.h ('k') | runtime/vm/intrinsifier.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Class for intrinsifying functions. 4 // Class for intrinsifying functions.
5 5
6 #ifndef RUNTIME_VM_INTRINSIFIER_H_ 6 #ifndef RUNTIME_VM_INTRINSIFIER_H_
7 #define RUNTIME_VM_INTRINSIFIER_H_ 7 #define RUNTIME_VM_INTRINSIFIER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/method_recognizer.h" 10 #include "vm/method_recognizer.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 #undef DECLARE_FUNCTION 50 #undef DECLARE_FUNCTION
51 51
52 #if !defined(TARGET_ARCH_DBC) 52 #if !defined(TARGET_ARCH_DBC)
53 #define DECLARE_FUNCTION(class_name, function_name, enum_name, type, fp) \ 53 #define DECLARE_FUNCTION(class_name, function_name, enum_name, type, fp) \
54 static bool Build_##enum_name(FlowGraph* flow_graph); 54 static bool Build_##enum_name(FlowGraph* flow_graph);
55 55
56 GRAPH_INTRINSICS_LIST(DECLARE_FUNCTION) 56 GRAPH_INTRINSICS_LIST(DECLARE_FUNCTION)
57 57
58 #undef DECLARE_FUNCTION 58 #undef DECLARE_FUNCTION
59
60 static void IntrinsifyRegExpExecuteMatch(Assembler* assembler, bool sticky);
59 #endif 61 #endif
60 }; 62 };
61 63
62 } // namespace dart 64 } // namespace dart
63 65
64 #endif // RUNTIME_VM_INTRINSIFIER_H_ 66 #endif // RUNTIME_VM_INTRINSIFIER_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698