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

Unified Diff: tests/lib/typed_data/float32x4_unbox_phi_test.dart

Issue 19801005: Implement SIMD types for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« no previous file with comments | « tests/lib/typed_data/float32x4_list_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/typed_data/float32x4_unbox_phi_test.dart
diff --git a/tests/lib/typed_data/float32x4_unbox_phi_test.dart b/tests/lib/typed_data/float32x4_unbox_phi_test.dart
index 34c85ef9c28539119253899ba7b0564bc291e830..2c2ee153f145052d5ff365a9fd2734c0238e8534 100644
--- a/tests/lib/typed_data/float32x4_unbox_phi_test.dart
+++ b/tests/lib/typed_data/float32x4_unbox_phi_test.dart
@@ -19,7 +19,7 @@ double testUnboxPhi(Float32x4List data) {
main() {
Float32x4List list = new Float32x4List(10);
- Float32List floatList = new Float32List.view(list);
+ Float32List floatList = new Float32List.view(list.buffer);
for (int i = 0; i < floatList.length; i++) {
floatList[i] = i.toDouble();
}
« no previous file with comments | « tests/lib/typed_data/float32x4_list_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698