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

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

Issue 189443004: Fix performance of setRange by avoiding going to Lists.copy (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « runtime/lib/typed_data.dart ('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 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 V(ExternalTypedData_Int32Array_new, 1) \ 156 V(ExternalTypedData_Int32Array_new, 1) \
157 V(ExternalTypedData_Uint32Array_new, 1) \ 157 V(ExternalTypedData_Uint32Array_new, 1) \
158 V(ExternalTypedData_Int64Array_new, 1) \ 158 V(ExternalTypedData_Int64Array_new, 1) \
159 V(ExternalTypedData_Uint64Array_new, 1) \ 159 V(ExternalTypedData_Uint64Array_new, 1) \
160 V(ExternalTypedData_Float32Array_new, 1) \ 160 V(ExternalTypedData_Float32Array_new, 1) \
161 V(ExternalTypedData_Float64Array_new, 1) \ 161 V(ExternalTypedData_Float64Array_new, 1) \
162 V(ExternalTypedData_Float32x4Array_new, 1) \ 162 V(ExternalTypedData_Float32x4Array_new, 1) \
163 V(ExternalTypedData_Int32x4Array_new, 1) \ 163 V(ExternalTypedData_Int32x4Array_new, 1) \
164 V(ExternalTypedData_Float64x2Array_new, 1) \ 164 V(ExternalTypedData_Float64x2Array_new, 1) \
165 V(TypedData_length, 1) \ 165 V(TypedData_length, 1) \
166 V(TypedData_setRange, 5) \ 166 V(TypedData_setRange, 7) \
167 V(TypedData_GetInt8, 2) \ 167 V(TypedData_GetInt8, 2) \
168 V(TypedData_SetInt8, 3) \ 168 V(TypedData_SetInt8, 3) \
169 V(TypedData_GetUint8, 2) \ 169 V(TypedData_GetUint8, 2) \
170 V(TypedData_SetUint8, 3) \ 170 V(TypedData_SetUint8, 3) \
171 V(TypedData_GetInt16, 2) \ 171 V(TypedData_GetInt16, 2) \
172 V(TypedData_SetInt16, 3) \ 172 V(TypedData_SetInt16, 3) \
173 V(TypedData_GetUint16, 2) \ 173 V(TypedData_GetUint16, 2) \
174 V(TypedData_SetUint16, 3) \ 174 V(TypedData_SetUint16, 3) \
175 V(TypedData_GetInt32, 2) \ 175 V(TypedData_GetInt32, 2) \
176 V(TypedData_SetInt32, 3) \ 176 V(TypedData_SetInt32, 3) \
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 static void DN_##name(Dart_NativeArguments args); 357 static void DN_##name(Dart_NativeArguments args);
358 358
359 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 359 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
360 360
361 #undef DECLARE_BOOTSTRAP_NATIVE 361 #undef DECLARE_BOOTSTRAP_NATIVE
362 }; 362 };
363 363
364 } // namespace dart 364 } // namespace dart
365 365
366 #endif // VM_BOOTSTRAP_NATIVES_H_ 366 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698