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

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

Issue 12881006: Add the native intrinsic TypedData_setRange to optimize the setRange call when the destination and … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/lib/typeddata.dart ('k') | runtime/vm/object.h » ('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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 V(ExternalTypedData_Uint8ClampedArray_new, 1) \ 281 V(ExternalTypedData_Uint8ClampedArray_new, 1) \
282 V(ExternalTypedData_Int16Array_new, 1) \ 282 V(ExternalTypedData_Int16Array_new, 1) \
283 V(ExternalTypedData_Uint16Array_new, 1) \ 283 V(ExternalTypedData_Uint16Array_new, 1) \
284 V(ExternalTypedData_Int32Array_new, 1) \ 284 V(ExternalTypedData_Int32Array_new, 1) \
285 V(ExternalTypedData_Uint32Array_new, 1) \ 285 V(ExternalTypedData_Uint32Array_new, 1) \
286 V(ExternalTypedData_Int64Array_new, 1) \ 286 V(ExternalTypedData_Int64Array_new, 1) \
287 V(ExternalTypedData_Uint64Array_new, 1) \ 287 V(ExternalTypedData_Uint64Array_new, 1) \
288 V(ExternalTypedData_Float32Array_new, 1) \ 288 V(ExternalTypedData_Float32Array_new, 1) \
289 V(ExternalTypedData_Float64Array_new, 1) \ 289 V(ExternalTypedData_Float64Array_new, 1) \
290 V(TypedData_length, 1) \ 290 V(TypedData_length, 1) \
291 V(TypedData_setRange, 5) \
291 V(TypedData_GetInt8, 2) \ 292 V(TypedData_GetInt8, 2) \
292 V(TypedData_SetInt8, 3) \ 293 V(TypedData_SetInt8, 3) \
293 V(TypedData_GetUint8, 2) \ 294 V(TypedData_GetUint8, 2) \
294 V(TypedData_SetUint8, 3) \ 295 V(TypedData_SetUint8, 3) \
295 V(TypedData_GetInt16, 2) \ 296 V(TypedData_GetInt16, 2) \
296 V(TypedData_SetInt16, 3) \ 297 V(TypedData_SetInt16, 3) \
297 V(TypedData_GetUint16, 2) \ 298 V(TypedData_GetUint16, 2) \
298 V(TypedData_SetUint16, 3) \ 299 V(TypedData_SetUint16, 3) \
299 V(TypedData_GetInt32, 2) \ 300 V(TypedData_GetInt32, 2) \
300 V(TypedData_SetInt32, 3) \ 301 V(TypedData_SetInt32, 3) \
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 static void DN_##name(Dart_NativeArguments args); 340 static void DN_##name(Dart_NativeArguments args);
340 341
341 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 342 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
342 343
343 #undef DECLARE_BOOTSTRAP_NATIVE 344 #undef DECLARE_BOOTSTRAP_NATIVE
344 }; 345 };
345 346
346 } // namespace dart 347 } // namespace dart
347 348
348 #endif // VM_BOOTSTRAP_NATIVES_H_ 349 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/typeddata.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698