external declaration of dominance debug functions
Piervit
piervit@pvittet.com
Mon May 23 09:49:00 GMT 2011
Hello,
Here is a two lines patch, allowing to use debug_dominance_info and
debug_dominance_tree functions outside of gcc/dominance.c. For the
moment, those functions are not declared in any gcc/*.h files (as far as
I know after trying a grep). I have added them as external functions
into gcc/basic-block.h. I feel this is useful to be able to call those
functions from others files, for exemple from plugins.
ChangeLog:
2011-05-23 Pierre Vittet <piervit@pvittet.com>
* basic-block.h (debug_dominance_info, debug_dominance_tree):
Add declaration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_dom_debug_to_header-174056.diff
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110523/4c01b580/attachment.bin>
More information about the Gcc-patches
mailing list