Index: sdk/lib/_internal/compiler/js_lib/native_typed_data.dart |
diff --git a/sdk/lib/_internal/compiler/js_lib/native_typed_data.dart b/sdk/lib/_internal/compiler/js_lib/native_typed_data.dart |
index 84b25bc52c1d630b83202a160314f1c34bb2b4ba..1c6e35735713b395a1ef1448577c9e5649a21fc8 100644 |
--- a/sdk/lib/_internal/compiler/js_lib/native_typed_data.dart |
+++ b/sdk/lib/_internal/compiler/js_lib/native_typed_data.dart |
@@ -1542,7 +1542,7 @@ class NativeFloat32x4 implements Float32x4 { |
/// Shuffle the lane values. [mask] must be one of the 256 shuffle constants. |
Float32x4 shuffle(int m) { |
if ((m < 0) || (m > 255)) { |
- throw new RangeError('mask $m must be in the range [0..256)'); |
+ throw new RangeError('mask $m must be in the range [0..255]'); |
} |
_list[0] = x; |
_list[1] = y; |
@@ -1561,7 +1561,7 @@ class NativeFloat32x4 implements Float32x4 { |
/// Uses the same [mask] as [shuffle]. |
Float32x4 shuffleMix(Float32x4 other, int m) { |
if ((m < 0) || (m > 255)) { |
- throw new RangeError('mask $m must be in the range [0..256)'); |
+ throw new RangeError('mask $m must be in the range [0..255]'); |
} |
_list[0] = x; |
_list[1] = y; |
@@ -1763,7 +1763,7 @@ class NativeInt32x4 implements Int32x4 { |
/// Shuffle the lane values. [mask] must be one of the 256 shuffle constants. |
Int32x4 shuffle(int mask) { |
if ((mask < 0) || (mask > 255)) { |
- throw new RangeError('mask $mask must be in the range [0..256)'); |
+ throw new RangeError('mask $mask must be in the range [0..255]'); |
} |
_list[0] = x; |
_list[1] = y; |
@@ -1781,7 +1781,7 @@ class NativeInt32x4 implements Int32x4 { |
/// Uses the same [mask] as [shuffle]. |
Int32x4 shuffleMix(Int32x4 other, int mask) { |
if ((mask < 0) || (mask > 255)) { |
- throw new RangeError('mask $mask must be in the range [0..256)'); |
+ throw new RangeError('mask $mask must be in the range [0..255]'); |
} |
_list[0] = x; |
_list[1] = y; |