Index: runtime/lib/array.cc |
diff --git a/runtime/lib/array.cc b/runtime/lib/array.cc |
index b95e6b0a23c9e1318c23089e69b879eb839ef704..9d43816ae508e5b6d46597fe8f27f16c3dcee62e 100644 |
--- a/runtime/lib/array.cc |
+++ b/runtime/lib/array.cc |
@@ -54,20 +54,14 @@ DEFINE_NATIVE_ENTRY(List_slice, 4) { |
GET_NON_NULL_NATIVE_ARGUMENT(Bool, needs_type_arg, arguments->NativeArgAt(3)); |
intptr_t istart = start.Value(); |
if ((istart < 0) || (istart > src.Length())) { |
- Exceptions::ThrowRangeError( |
- "start", |
- start, |
- 0, |
- src.Length()); |
+ Exceptions::ThrowRangeError("start", start, 0, src.Length()); |
} |
intptr_t icount = count.Value(); |
// Zero count should be handled outside already. |
if ((icount <= 0) || (icount > src.Length())) { |
- Exceptions::ThrowRangeError( |
- "count", |
- count, |
- 0, // This is the limit the user sees. |
- src.Length() - istart); |
+ Exceptions::ThrowRangeError("count", count, |
+ 0, // This is the limit the user sees. |
+ src.Length() - istart); |
} |
return src.Slice(istart, icount, needs_type_arg.value()); |