From 874890e31793292f71be456ee5a27c194577fbc5 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 4 Mar 2011 16:01:50 -0700 Subject: [PATCH] assert exception parameter is not null in throw_ --- src/machine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/machine.h b/src/machine.h index 6c3633000f..4031093138 100644 --- a/src/machine.h +++ b/src/machine.h @@ -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);