This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New function: current_function_has_landing_pads


On Wed, Jun 22, 2005 at 12:40:49PM +0200, Andreas Krebbel wrote:
> The already available "current_function_has_exception_handlers" function 
> returns true if there are eh regions, but this does not always mean that the
> function contains a landing pad.

I think it'd be easier not to have this, but rather a bit in
struct machine_function that is set by either your
exception_receiver or nonlocal_goto_receiver pattern.  I notice
you dont have either of those at the moment; if correct, you'd
just make one be an expander, set that bit, and do nothing else.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]