check for exceptions in invoke()

This commit is contained in:
Joel Dice 2007-08-28 17:38:47 -06:00
parent b8de552797
commit f72f95d7ca

View File

@ -2651,6 +2651,10 @@ invoke(Thread* t, object method)
}
}
if (UNLIKELY(t->exception)) {
return 0;
}
switch (returnCode(t, method)) {
case ByteField:
return makeByte(t, static_cast<int8_t>(intValue(t, result)));