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

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

Issue 10874038: Make StringBase._substringUnchecked a native function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « runtime/lib/string.dart ('k') | no next file » | 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 4
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 V(JSSyntaxRegExp_multiLine, 1) \ 62 V(JSSyntaxRegExp_multiLine, 1) \
63 V(JSSyntaxRegExp_ignoreCase, 1) \ 63 V(JSSyntaxRegExp_ignoreCase, 1) \
64 V(JSSyntaxRegExp_getGroupCount, 1) \ 64 V(JSSyntaxRegExp_getGroupCount, 1) \
65 V(JSSyntaxRegExp_ExecuteMatch, 3) \ 65 V(JSSyntaxRegExp_ExecuteMatch, 3) \
66 V(ObjectArray_allocate, 2) \ 66 V(ObjectArray_allocate, 2) \
67 V(ObjectArray_getIndexed, 2) \ 67 V(ObjectArray_getIndexed, 2) \
68 V(ObjectArray_setIndexed, 3) \ 68 V(ObjectArray_setIndexed, 3) \
69 V(ObjectArray_getLength, 1) \ 69 V(ObjectArray_getLength, 1) \
70 V(ObjectArray_copyFromObjectArray, 5) \ 70 V(ObjectArray_copyFromObjectArray, 5) \
71 V(StringBase_createFromCodePoints, 1) \ 71 V(StringBase_createFromCodePoints, 1) \
72 V(StringBase_substringUnchecked, 3) \
72 V(String_hashCode, 1) \ 73 V(String_hashCode, 1) \
73 V(String_getLength, 1) \ 74 V(String_getLength, 1) \
74 V(String_charAt, 2) \ 75 V(String_charAt, 2) \
75 V(String_charCodeAt, 2) \ 76 V(String_charCodeAt, 2) \
76 V(String_concat, 2) \ 77 V(String_concat, 2) \
77 V(String_toLowerCase, 1) \ 78 V(String_toLowerCase, 1) \
78 V(String_toUpperCase, 1) \ 79 V(String_toUpperCase, 1) \
79 V(Strings_concatAll, 1) \ 80 V(Strings_concatAll, 1) \
80 V(MathNatives_sqrt, 1) \ 81 V(MathNatives_sqrt, 1) \
81 V(MathNatives_sin, 1) \ 82 V(MathNatives_sin, 1) \
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 V(WeakProperty_new, 2) \ 194 V(WeakProperty_new, 2) \
194 V(WeakProperty_getKey, 1) \ 195 V(WeakProperty_getKey, 1) \
195 V(WeakProperty_getValue, 1) \ 196 V(WeakProperty_getValue, 1) \
196 V(WeakProperty_setValue, 2) \ 197 V(WeakProperty_setValue, 2) \
197 198
198 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) 199 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
199 200
200 } // namespace dart 201 } // namespace dart
201 202
202 #endif // VM_BOOTSTRAP_NATIVES_H_ 203 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/string.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698