assert exception parameter is not null in throw_

This commit is contained in:
Joel Dice 2011-03-04 16:01:50 -07:00
parent 8fb9523de5
commit 874890e317

View File

@ -2597,6 +2597,7 @@ inline void NO_RETURN
throw_(Thread* t, object e)
{
assert(t, t->exception == 0);
assert(t, e);
expect(t, not t->checkpoint->noThrow);