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

Unified Diff: runtime/lib/simd128.dart

Issue 12386072: Move Arrays class to private library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 6d77148899f51187febb0f4e8247f87dc8020136..5052773eec736d41c71b83bca8356d4dc9e0c25c 100644
--- a/runtime/lib/simd128.dart
+++ b/runtime/lib/simd128.dart
@@ -613,7 +613,8 @@ class _Float32x4Array extends _ByteArrayBase
from,
startFrom * _BYTES_PER_ELEMENT);
} else {
- Arrays.copy(from, startFrom, this, start, length);
+ IterableMixinWorkaround.setRangeList(
+ this, start, length, from, startFrom);
}
}
String toString() {
@@ -675,7 +676,7 @@ class _Float32x4ArrayView extends _ByteArrayViewBase
void setRange(int start, int length, List<Float32x4> from,
[int startFrom = 0]) {
- Arrays.copy(from, startFrom, this, start, length);
+ IterableMixinWorkaround.setRangeList(this, start, length, from, startFrom);
}
String toString() {
@@ -731,7 +732,8 @@ class _ExternalFloat32x4Array extends _ByteArrayBase
from,
startFrom * _BYTES_PER_ELEMENT);
} else {
- Arrays.copy(from, startFrom, this, start, length);
+ IterableMixinWorkaround.setRangeList(
+ this, start, length, from, startFrom);
}
}
« 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