Chromium Code Reviews| Index: runtime/vm/exceptions.h |
| diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h |
| index b762627186b971e670d6ccfe80924cf24e251781..66de0a39dcca4822a37728441a3776e4729db440 100644 |
| --- a/runtime/vm/exceptions.h |
| +++ b/runtime/vm/exceptions.h |
| @@ -37,10 +37,10 @@ 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 intptr_t SetLocationFields(const Array& args, |
| + intptr_t index, |
| + const Script& script, |
| + intptr_t location); |
|
siva
2013/07/12 16:49:36
This method not needed anymore....
floitsch
2013/07/12 17:12:36
Done.
|
| static void CreateAndThrowTypeError(intptr_t location, |
| const String& src_type_name, |
| const String& dst_type_name, |
| @@ -61,6 +61,11 @@ class Exceptions : AllStatic { |
| kIsolateSpawn, |
| kIsolateUnhandledException, |
| kFiftyThreeBitOverflowError, |
| + kAssertion, |
| + kCast, |
| + kType, |
| + kFallThrough, |
| + kAbstractClassInstantiation, |
| }; |
| static void ThrowByType(ExceptionType type, const Array& arguments); |