Index: tests/language/vm/unaligned_float_access_register_index_test.dart |
diff --git a/tests/language/vm/unaligned_float_access_register_index_test.dart b/tests/language/vm/unaligned_float_access_register_index_test.dart |
index 334efe5f268fa52487b5a2cde6fff943a5197283..4042ec3d8d75e5397ccae096d782da846ebf498b 100644 |
--- a/tests/language/vm/unaligned_float_access_register_index_test.dart |
+++ b/tests/language/vm/unaligned_float_access_register_index_test.dart |
@@ -9,16 +9,16 @@ import 'package:expect/expect.dart'; |
unalignedFloat32() { |
var bytes = new ByteData(64); |
for (var i = 0; i < 4; i++) { |
- bytes.setFloat32(i, 16.25); |
- Expect.equals(16.25, bytes.getFloat32(i)); |
+ bytes.setFloat32(i, 16.25, Endianness.HOST_ENDIAN); |
+ Expect.equals(16.25, bytes.getFloat32(i, Endianness.HOST_ENDIAN)); |
} |
} |
unalignedFloat64() { |
var bytes = new ByteData(64); |
for (var i = 0; i < 8; i++) { |
- bytes.setFloat64(i, 16.25); |
- Expect.equals(16.25, bytes.getFloat64(i)); |
+ bytes.setFloat64(i, 16.25, Endianness.HOST_ENDIAN); |
+ Expect.equals(16.25, bytes.getFloat64(i, Endianness.HOST_ENDIAN)); |
} |
} |