Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 35c958238eea2b6b572f82f4e9cef14bc6d91bea..ca65b54fb93b08240563740ac81909c9d9f8a2ca 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -628,10 +628,10 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { |
break; |
} |
- return DartLibraryCalls::ExceptionCreate(library, |
- *class_name, |
- *constructor_name, |
- arguments); |
+ return DartLibraryCalls::InstanceCreate(library, |
+ *class_name, |
+ *constructor_name, |
+ arguments); |
} |
} // namespace dart |