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

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

Issue 12421002: Change VM's string-buffer patch to use a Uin16Array as backing buffer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments, PTAL. Created 7 years, 9 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
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ 71 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \
72 V(JSSyntaxRegExp_getGroupCount, 1) \ 72 V(JSSyntaxRegExp_getGroupCount, 1) \
73 V(JSSyntaxRegExp_ExecuteMatch, 3) \ 73 V(JSSyntaxRegExp_ExecuteMatch, 3) \
74 V(ObjectArray_allocate, 2) \ 74 V(ObjectArray_allocate, 2) \
75 V(ObjectArray_getIndexed, 2) \ 75 V(ObjectArray_getIndexed, 2) \
76 V(ObjectArray_setIndexed, 3) \ 76 V(ObjectArray_setIndexed, 3) \
77 V(ObjectArray_getLength, 1) \ 77 V(ObjectArray_getLength, 1) \
78 V(ObjectArray_copyFromObjectArray, 5) \ 78 V(ObjectArray_copyFromObjectArray, 5) \
79 V(StringBase_createFromCodePoints, 1) \ 79 V(StringBase_createFromCodePoints, 1) \
80 V(StringBase_substringUnchecked, 3) \ 80 V(StringBase_substringUnchecked, 3) \
81 V(StringBuffer_createStringFromUint16Array, 3) \
81 V(OneByteString_substringUnchecked, 3) \ 82 V(OneByteString_substringUnchecked, 3) \
82 V(OneByteString_splitWithCharCode, 2) \ 83 V(OneByteString_splitWithCharCode, 2) \
83 V(String_getHashCode, 1) \ 84 V(String_getHashCode, 1) \
84 V(String_getLength, 1) \ 85 V(String_getLength, 1) \
85 V(String_charAt, 2) \ 86 V(String_charAt, 2) \
86 V(String_codeUnitAt, 2) \ 87 V(String_codeUnitAt, 2) \
87 V(String_concat, 2) \ 88 V(String_concat, 2) \
88 V(String_toLowerCase, 1) \ 89 V(String_toLowerCase, 1) \
89 V(String_toUpperCase, 1) \ 90 V(String_toUpperCase, 1) \
90 V(Strings_concatAll, 1) \ 91 V(Strings_concatAll, 1) \
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 static void DN_##name(Dart_NativeArguments args); 296 static void DN_##name(Dart_NativeArguments args);
296 297
297 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 298 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
298 299
299 #undef DECLARE_BOOTSTRAP_NATIVE 300 #undef DECLARE_BOOTSTRAP_NATIVE
300 }; 301 };
301 302
302 } // namespace dart 303 } // namespace dart
303 304
304 #endif // VM_BOOTSTRAP_NATIVES_H_ 305 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698