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

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

Issue 12544015: Implement 'dart:typeddata' directly in the VM instead of using 'dart:scalarlist' (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_sources.gypi ('k') | runtime/vm/bootstrap_natives.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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 V(ExternalInt64Array_getIndexed, 2) \ 257 V(ExternalInt64Array_getIndexed, 2) \
258 V(ExternalInt64Array_setIndexed, 3) \ 258 V(ExternalInt64Array_setIndexed, 3) \
259 V(ExternalUint64Array_getIndexed, 2) \ 259 V(ExternalUint64Array_getIndexed, 2) \
260 V(ExternalUint64Array_setIndexed, 3) \ 260 V(ExternalUint64Array_setIndexed, 3) \
261 V(ExternalFloat32x4Array_getIndexed, 2) \ 261 V(ExternalFloat32x4Array_getIndexed, 2) \
262 V(ExternalFloat32x4Array_setIndexed, 3) \ 262 V(ExternalFloat32x4Array_setIndexed, 3) \
263 V(ExternalFloat32Array_getIndexed, 2) \ 263 V(ExternalFloat32Array_getIndexed, 2) \
264 V(ExternalFloat32Array_setIndexed, 3) \ 264 V(ExternalFloat32Array_setIndexed, 3) \
265 V(ExternalFloat64Array_getIndexed, 2) \ 265 V(ExternalFloat64Array_getIndexed, 2) \
266 V(ExternalFloat64Array_setIndexed, 3) \ 266 V(ExternalFloat64Array_setIndexed, 3) \
267 V(TypedData_Int8Array_new, 1) \
268 V(TypedData_Uint8Array_new, 1) \
269 V(TypedData_Uint8ClampedArray_new, 1) \
270 V(TypedData_Int16Array_new, 1) \
271 V(TypedData_Uint16Array_new, 1) \
272 V(TypedData_Int32Array_new, 1) \
273 V(TypedData_Uint32Array_new, 1) \
274 V(TypedData_Int64Array_new, 1) \
275 V(TypedData_Uint64Array_new, 1) \
276 V(TypedData_Float32Array_new, 1) \
277 V(TypedData_Float64Array_new, 1) \
278 V(ExternalTypedData_Int8Array_new, 1) \
279 V(ExternalTypedData_Uint8Array_new, 1) \
280 V(ExternalTypedData_Uint8ClampedArray_new, 1) \
281 V(ExternalTypedData_Int16Array_new, 1) \
282 V(ExternalTypedData_Uint16Array_new, 1) \
283 V(ExternalTypedData_Int32Array_new, 1) \
284 V(ExternalTypedData_Uint32Array_new, 1) \
285 V(ExternalTypedData_Int64Array_new, 1) \
286 V(ExternalTypedData_Uint64Array_new, 1) \
287 V(ExternalTypedData_Float32Array_new, 1) \
288 V(ExternalTypedData_Float64Array_new, 1) \
289 V(TypedData_length, 1) \
290 V(TypedData_GetInt8, 2) \
291 V(TypedData_SetInt8, 3) \
292 V(TypedData_GetUint8, 2) \
293 V(TypedData_SetUint8, 3) \
294 V(TypedData_GetInt16, 2) \
295 V(TypedData_SetInt16, 3) \
296 V(TypedData_GetUint16, 2) \
297 V(TypedData_SetUint16, 3) \
298 V(TypedData_GetInt32, 2) \
299 V(TypedData_SetInt32, 3) \
300 V(TypedData_GetUint32, 2) \
301 V(TypedData_SetUint32, 3) \
302 V(TypedData_GetInt64, 2) \
303 V(TypedData_SetInt64, 3) \
304 V(TypedData_GetUint64, 2) \
305 V(TypedData_SetUint64, 3) \
306 V(TypedData_GetFloat32, 2) \
307 V(TypedData_SetFloat32, 3) \
308 V(TypedData_GetFloat64, 2) \
309 V(TypedData_SetFloat64, 3) \
267 V(isolate_getPortInternal, 0) \ 310 V(isolate_getPortInternal, 0) \
268 V(isolate_spawnFunction, 2) \ 311 V(isolate_spawnFunction, 2) \
269 V(isolate_spawnUri, 1) \ 312 V(isolate_spawnUri, 1) \
270 V(Mirrors_isLocalPort, 1) \ 313 V(Mirrors_isLocalPort, 1) \
271 V(Mirrors_makeLocalInstanceMirror, 1) \ 314 V(Mirrors_makeLocalInstanceMirror, 1) \
272 V(Mirrors_makeLocalMirrorSystem, 0) \ 315 V(Mirrors_makeLocalMirrorSystem, 0) \
273 V(LocalObjectMirrorImpl_invoke, 3) \ 316 V(LocalObjectMirrorImpl_invoke, 3) \
274 V(LocalObjectMirrorImpl_getField, 2) \ 317 V(LocalObjectMirrorImpl_getField, 2) \
275 V(LocalObjectMirrorImpl_setField, 3) \ 318 V(LocalObjectMirrorImpl_setField, 3) \
276 V(LocalClosureMirrorImpl_apply, 2) \ 319 V(LocalClosureMirrorImpl_apply, 2) \
(...skipping 18 matching lines...) Expand all
295 static void DN_##name(Dart_NativeArguments args); 338 static void DN_##name(Dart_NativeArguments args);
296 339
297 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 340 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
298 341
299 #undef DECLARE_BOOTSTRAP_NATIVE 342 #undef DECLARE_BOOTSTRAP_NATIVE
300 }; 343 };
301 344
302 } // namespace dart 345 } // namespace dart
303 346
304 #endif // VM_BOOTSTRAP_NATIVES_H_ 347 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/typeddata_sources.gypi ('k') | runtime/vm/bootstrap_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698