Index: runtime/vm/dart_entry.h |
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h |
index 63ed5134886a99b5310b81633e6b3ee9b50967be..9bce13edc049f3c11ac6e768a78a36d84317e13a 100644 |
--- a/runtime/vm/dart_entry.h |
+++ b/runtime/vm/dart_entry.h |
@@ -157,10 +157,10 @@ class DartEntry : public AllStatic { |
class DartLibraryCalls : public AllStatic { |
public: |
// On success, returns a RawInstance. On failure, a RawError. |
- static RawObject* ExceptionCreate(const Library& library, |
- const String& exception_name, |
- const String& constructor_name, |
- const Array& arguments); |
+ static RawObject* InstanceCreate(const Library& library, |
+ const String& exception_name, |
+ const String& constructor_name, |
+ const Array& arguments); |
// On success, returns a RawInstance. On failure, a RawError. |
static RawObject* ToString(const Instance& receiver); |