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

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

Issue 74423005: Add optimized String.fromCharCodes path for Uint8List and Int8List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: A bit more cleanup. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/lib/string_patch.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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 V(List_getIndexed, 2) \ 89 V(List_getIndexed, 2) \
90 V(List_setIndexed, 3) \ 90 V(List_setIndexed, 3) \
91 V(List_getLength, 1) \ 91 V(List_getLength, 1) \
92 V(List_copyFromObjectArray, 5) \ 92 V(List_copyFromObjectArray, 5) \
93 V(StringBase_createFromCodePoints, 1) \ 93 V(StringBase_createFromCodePoints, 1) \
94 V(StringBase_substringUnchecked, 3) \ 94 V(StringBase_substringUnchecked, 3) \
95 V(StringBuffer_createStringFromUint16Array, 3) \ 95 V(StringBuffer_createStringFromUint16Array, 3) \
96 V(OneByteString_substringUnchecked, 3) \ 96 V(OneByteString_substringUnchecked, 3) \
97 V(OneByteString_splitWithCharCode, 2) \ 97 V(OneByteString_splitWithCharCode, 2) \
98 V(OneByteString_allocate, 1) \ 98 V(OneByteString_allocate, 1) \
99 V(OneByteString_allocateFromOneByteList, 1) \
99 V(OneByteString_setAt, 3) \ 100 V(OneByteString_setAt, 3) \
100 V(ExternalOneByteString_getCid, 0) \ 101 V(ExternalOneByteString_getCid, 0) \
101 V(String_getHashCode, 1) \ 102 V(String_getHashCode, 1) \
102 V(String_getLength, 1) \ 103 V(String_getLength, 1) \
103 V(String_charAt, 2) \ 104 V(String_charAt, 2) \
104 V(String_codeUnitAt, 2) \ 105 V(String_codeUnitAt, 2) \
105 V(String_concat, 2) \ 106 V(String_concat, 2) \
106 V(String_fromEnvironment, 3) \ 107 V(String_fromEnvironment, 3) \
107 V(String_toLowerCase, 1) \ 108 V(String_toLowerCase, 1) \
108 V(String_toUpperCase, 1) \ 109 V(String_toUpperCase, 1) \
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 static void DN_##name(Dart_NativeArguments args); 326 static void DN_##name(Dart_NativeArguments args);
326 327
327 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 328 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
328 329
329 #undef DECLARE_BOOTSTRAP_NATIVE 330 #undef DECLARE_BOOTSTRAP_NATIVE
330 }; 331 };
331 332
332 } // namespace dart 333 } // namespace dart
333 334
334 #endif // VM_BOOTSTRAP_NATIVES_H_ 335 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698