2005-06-28 Andreas Krebbel <krebbel1@de.ibm.com>
* except.c (current_function_has_exception_handlers): Function
description added and if statements merged.
From-SVN: r101380
+2005-06-28 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * except.c (current_function_has_exception_handlers): Function
+ description added and if statements merged.
+
2005-06-28 Richard Henderson <rth@redhat.com>
* config/i386/sse.md (smaxv16qi3): Fix buffer overflow.
add_ehl_entry (return_label, NULL);
}
+/* Returns true if the current function has exception handling regions. */
+
bool
current_function_has_exception_handlers (void)
{
{
struct eh_region *region = cfun->eh->region_array[i];
- if (! region || region->region_number != i)
- continue;
- if (region->type != ERT_THROW)
+ if (region
+ && region->region_number == i
+ && region->type != ERT_THROW)
return true;
}