Index: runtime/vm/exceptions.h |
=================================================================== |
--- runtime/vm/exceptions.h (revision 21956) |
+++ runtime/vm/exceptions.h (working copy) |
@@ -63,6 +63,9 @@ |
}; |
static void ThrowByType(ExceptionType type, const Array& arguments); |
+ static void ThrowOOM(); |
+ static void ThrowStackOverflow(); |
+ |
// Returns a RawInstance if the exception is successfully created, |
// otherwise returns a RawError. |
static RawObject* Create(ExceptionType type, const Array& arguments); |