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

Side by Side Diff: runtime/vm/bootstrap_natives.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
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 4
5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_
6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 V(Double_toStringAsFixed, 2) \ 105 V(Double_toStringAsFixed, 2) \
106 V(Double_toStringAsExponential, 2) \ 106 V(Double_toStringAsExponential, 2) \
107 V(Double_toStringAsPrecision, 2) \ 107 V(Double_toStringAsPrecision, 2) \
108 V(Double_flipSignBit, 1) \ 108 V(Double_flipSignBit, 1) \
109 V(RegExp_factory, 4) \ 109 V(RegExp_factory, 4) \
110 V(RegExp_getPattern, 1) \ 110 V(RegExp_getPattern, 1) \
111 V(RegExp_getIsMultiLine, 1) \ 111 V(RegExp_getIsMultiLine, 1) \
112 V(RegExp_getIsCaseSensitive, 1) \ 112 V(RegExp_getIsCaseSensitive, 1) \
113 V(RegExp_getGroupCount, 1) \ 113 V(RegExp_getGroupCount, 1) \
114 V(RegExp_ExecuteMatch, 3) \ 114 V(RegExp_ExecuteMatch, 3) \
115 V(RegExp_ExecuteMatchSticky, 3) \
115 V(List_allocate, 2) \ 116 V(List_allocate, 2) \
116 V(List_getIndexed, 2) \ 117 V(List_getIndexed, 2) \
117 V(List_setIndexed, 3) \ 118 V(List_setIndexed, 3) \
118 V(List_getLength, 1) \ 119 V(List_getLength, 1) \
119 V(List_slice, 4) \ 120 V(List_slice, 4) \
120 V(ImmutableList_from, 4) \ 121 V(ImmutableList_from, 4) \
121 V(StringBase_createFromCodePoints, 3) \ 122 V(StringBase_createFromCodePoints, 3) \
122 V(StringBase_substringUnchecked, 3) \ 123 V(StringBase_substringUnchecked, 3) \
123 V(StringBase_joinReplaceAllResult, 4) \ 124 V(StringBase_joinReplaceAllResult, 4) \
124 V(StringBuffer_createStringFromUint16Array, 3) \ 125 V(StringBuffer_createStringFromUint16Array, 3) \
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 #ifndef PRODUCT 427 #ifndef PRODUCT
427 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 428 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
428 #endif 429 #endif
429 430
430 #undef DECLARE_BOOTSTRAP_NATIVE 431 #undef DECLARE_BOOTSTRAP_NATIVE
431 }; 432 };
432 433
433 } // namespace dart 434 } // namespace dart
434 435
435 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 436 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698