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

Unified Diff: runtime/lib/simd128.dart

Issue 12379085: Revert "Move Arrays class to private library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « runtime/lib/growable_array.dart ('k') | samples/swarm/swarm_ui_lib/observable/observable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/simd128.dart
diff --git a/runtime/lib/simd128.dart b/runtime/lib/simd128.dart
index 5052773eec736d41c71b83bca8356d4dc9e0c25c..6d77148899f51187febb0f4e8247f87dc8020136 100644
--- a/runtime/lib/simd128.dart
+++ b/runtime/lib/simd128.dart
@@ -613,8 +613,7 @@ class _Float32x4Array extends _ByteArrayBase
from,
startFrom * _BYTES_PER_ELEMENT);
} else {
- IterableMixinWorkaround.setRangeList(
- this, start, length, from, startFrom);
+ Arrays.copy(from, startFrom, this, start, length);
}
}
String toString() {
@@ -676,7 +675,7 @@ class _Float32x4ArrayView extends _ByteArrayViewBase
void setRange(int start, int length, List<Float32x4> from,
[int startFrom = 0]) {
- IterableMixinWorkaround.setRangeList(this, start, length, from, startFrom);
+ Arrays.copy(from, startFrom, this, start, length);
}
String toString() {
@@ -732,8 +731,7 @@ class _ExternalFloat32x4Array extends _ByteArrayBase
from,
startFrom * _BYTES_PER_ELEMENT);
} else {
- IterableMixinWorkaround.setRangeList(
- this, start, length, from, startFrom);
+ Arrays.copy(from, startFrom, this, start, length);
}
}
« no previous file with comments | « runtime/lib/growable_array.dart ('k') | samples/swarm/swarm_ui_lib/observable/observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698