Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index 7eb126a2afe49d35e8033bb4a054b18510e414cf..94e076d527d23f7c87d54f3c60dc185fe5115078 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -446,6 +446,10 @@ abstract class _ByteArrayBase { |
int _getUint64(int byteOffset) native "ByteArray_getUint64"; |
int _setUint64(int byteOffset, int value) native "ByteArray_setUint64"; |
+ Float32x4 _getFloat32x4(int byteOffset) native "ByteArray_getFloat32x4"; |
+ int _setFloat32x4(int byteOffset, Float32x4 value) |
+ native "ByteArray_setFloat32x4"; |
+ |
double _getFloat32(int byteOffset) native "ByteArray_getFloat32"; |
int _setFloat32(int byteOffset, double value) native "ByteArray_setFloat32"; |
@@ -1894,6 +1898,13 @@ class _ByteArrayView implements ByteArray { |
return _array._setUint64(_offset + byteOffset, value); |
} |
+ Float32x4 getFloat32x4(int byteOffset) { |
+ return _array._getFloat32x4(_offset + byteOffset); |
+ } |
+ int setFloat32x4(int byteOffset, Float32x4 value) { |
+ return _array._setFloat32x4(_offset + byteOffset, value); |
+ } |
+ |
double getFloat32(int byteOffset) { |
return _array._getFloat32(_offset + byteOffset); |
} |