| Index: runtime/vm/exceptions.h
|
| diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
|
| index b762627186b971e670d6ccfe80924cf24e251781..9d4a18ed1d2504a82655bb899c9c6ffb2b4bb467 100644
|
| --- a/runtime/vm/exceptions.h
|
| +++ b/runtime/vm/exceptions.h
|
| @@ -37,10 +37,6 @@ class Exceptions : AllStatic {
|
| const Class& cls,
|
| const char* field_name,
|
| const Object& value);
|
| - static void SetLocationFields(const Instance& instance,
|
| - const Class& cls,
|
| - const Script& script,
|
| - intptr_t location);
|
| static void CreateAndThrowTypeError(intptr_t location,
|
| const String& src_type_name,
|
| const String& dst_type_name,
|
| @@ -61,6 +57,11 @@ class Exceptions : AllStatic {
|
| kIsolateSpawn,
|
| kIsolateUnhandledException,
|
| kFiftyThreeBitOverflowError,
|
| + kAssertion,
|
| + kCast,
|
| + kType,
|
| + kFallThrough,
|
| + kAbstractClassInstantiation,
|
| };
|
|
|
| static void ThrowByType(ExceptionType type, const Array& arguments);
|
|
|