Chromium Code Reviews| Index: runtime/vm/exceptions.cc |
| =================================================================== |
| --- runtime/vm/exceptions.cc (revision 26823) |
| +++ runtime/vm/exceptions.cc (working copy) |
| @@ -365,6 +365,10 @@ |
| static RawField* LookupStacktraceField(const Instance& instance) { |
| + if (instance.GetClassId() < kNumPredefinedCids) { |
| + // 'error_class' is not a predefined class. |
|
siva
2013/08/29 16:29:20
// 'class Error' is not a predefined class.
srdjan
2013/08/29 16:38:13
Done.
|
| + return Field::null(); |
| + } |
| Isolate* isolate = Isolate::Current(); |
| Class& error_class = Class::Handle(isolate, |
| isolate->object_store()->error_class()); |