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

Unified Diff: runtime/vm/bootstrap_natives.h

Issue 8429027: Add an external array type to support typed arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address final review comments Created 9 years, 1 month 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
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap_natives.h
diff --git a/runtime/vm/bootstrap_natives.h b/runtime/vm/bootstrap_natives.h
index dea5034b3cd043a3c6ef52e317205d2797bb94dc..829ba0d11699f2c819a1f34f95cb541575ef2a0e 100644
--- a/runtime/vm/bootstrap_natives.h
+++ b/runtime/vm/bootstrap_natives.h
@@ -100,6 +100,28 @@ namespace dart {
V(FallThroughError_throwNew, 1) \
V(Clock_now, 0) \
V(Clock_frequency, 0) \
+ V(ByteBuffer_allocate, 1) \
+ V(ByteBuffer_getLength, 1) \
+ V(ByteBuffer_getInt8, 2) \
+ V(ByteBuffer_setInt8, 3) \
+ V(ByteBuffer_getUint8, 2) \
+ V(ByteBuffer_setUint8, 3) \
+ V(ByteBuffer_getInt16, 2) \
+ V(ByteBuffer_setInt16, 3) \
+ V(ByteBuffer_getUint16, 2) \
+ V(ByteBuffer_setUint16, 3) \
+ V(ByteBuffer_getInt32, 2) \
+ V(ByteBuffer_setInt32, 3) \
+ V(ByteBuffer_getUint32, 2) \
+ V(ByteBuffer_setUint32, 3) \
+ V(ByteBuffer_getInt64, 2) \
+ V(ByteBuffer_setInt64, 3) \
+ V(ByteBuffer_getUint64, 2) \
+ V(ByteBuffer_setUint64, 3) \
+ V(ByteBuffer_getFloat32, 2) \
+ V(ByteBuffer_setFloat32, 3) \
+ V(ByteBuffer_getFloat64, 2) \
+ V(ByteBuffer_setFloat64, 3) \
BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698