Index: runtime/lib/string.cc |
diff --git a/runtime/lib/string.cc b/runtime/lib/string.cc |
index 76c097abc54cdf991dc46ceba8ff8400caf2ceef..cb3ad4561600e9eb4cdf47867a59ba42e8ed4674 100644 |
--- a/runtime/lib/string.cc |
+++ b/runtime/lib/string.cc |
@@ -144,10 +144,6 @@ DEFINE_NATIVE_ENTRY(Strings_concatAll, 1) { |
Instance& elem = Instance::Handle(); |
for (intptr_t i = 0; i < strings.Length(); i++) { |
elem ^= strings.At(i); |
- if (elem.IsNull()) { |
- GrowableArray<const Object*> args; |
- Exceptions::ThrowByType(Exceptions::kNullPointer, args); |
- } |
if (!elem.IsString()) { |
GrowableArray<const Object*> args; |
args.Add(&elem); |