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

Unified Diff: runtime/vm/bootstrap_natives.h

Issue 14332002: Add endian parameter to the get/set functions in ByteData. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/bootstrap_natives.h
===================================================================
--- runtime/vm/bootstrap_natives.h (revision 21661)
+++ runtime/vm/bootstrap_natives.h (working copy)
@@ -161,6 +161,14 @@
V(TypedData_SetFloat64, 3) \
V(TypedData_GetFloat32x4, 2) \
V(TypedData_SetFloat32x4, 3) \
+ V(ByteData_ToEndianInt16, 2) \
+ V(ByteData_ToEndianUint16, 2) \
+ V(ByteData_ToEndianInt32, 2) \
+ V(ByteData_ToEndianUint32, 2) \
+ V(ByteData_ToEndianInt64, 2) \
+ V(ByteData_ToEndianUint64, 2) \
+ V(ByteData_ToEndianFloat32, 2) \
+ V(ByteData_ToEndianFloat64, 2) \
V(Float32x4_fromDoubles, 5) \
V(Float32x4_zero, 1) \
V(Float32x4_add, 2) \

Powered by Google App Engine
This is Rietveld 408576698