fix regression related to logging verbosity and exception handling in compile.cpp

This commit is contained in:
Joel Dice 2007-10-16 12:16:12 -06:00
parent fc898c4df1
commit 200e933923

View File

@ -894,10 +894,8 @@ findExceptionHandler(Thread* t, void* frame)
catchType = 0;
}
if (Verbose and
(catchType == 0 or
instanceOf(t, catchType, t->exception)))
{
if (catchType == 0 or instanceOf(t, catchType, t->exception)) {
if (Verbose) {
fprintf(stderr, "exception handler match for %d in %s: "
"start: %d; end: %d; ip: %d\n",
offset,
@ -905,6 +903,7 @@ findExceptionHandler(Thread* t, void* frame)
nativeExceptionHandlerStart(handler),
nativeExceptionHandlerEnd(handler),
nativeExceptionHandlerIp(handler));
}
return handler;
}