| Index: runtime/lib/simd128.cc
|
| diff --git a/runtime/lib/simd128.cc b/runtime/lib/simd128.cc
|
| index e21655597fe97ca7d54b1a5ee47dc6826b0b2fa1..fcf8d5259ec34b060c614fb9c517ed2bbc0b2c75 100644
|
| --- a/runtime/lib/simd128.cc
|
| +++ b/runtime/lib/simd128.cc
|
| @@ -16,9 +16,7 @@ static void ThrowMaskRangeException(int64_t m) {
|
| const String& error = String::Handle(
|
| String::NewFormatted("mask (%" Pd64 ") must be in the range [0..256)",
|
| m));
|
| - const Array& args = Array::Handle(Array::New(1));
|
| - args.SetAt(0, error);
|
| - Exceptions::ThrowByType(Exceptions::kRange, args);
|
| + Exceptions::ThrowRangeError(error);
|
| }
|
| }
|
|
|
|
|