make remove_irp_irg API private
authorMatthias Braun <matze@braunis.de>
Mon, 29 Oct 2012 12:48:22 +0000 (13:48 +0100)
committerMatthias Braun <matze@braunis.de>
Mon, 29 Oct 2012 16:48:54 +0000 (17:48 +0100)
commit8982560159eb2df0463b60fcf197a68864caf673
tree6ec0a99aedb184b2a38221dbe0946fd255c95d7f
parent1a1a3505daeb7a7dfb9650f8cca5973fb879ef53
make remove_irp_irg API private

Because otherwise we confuse users with free_ir_graph vs.
remove_irp_irg. Change it so that free_ir_graph also removes the graph
from the irp list.
include/libfirm/irprog.h
ir/ir/irgraph.c
ir/ir/irprog.c
ir/ir/irprog_t.h
ir/opt/garbage_collect.c
ir/opt/ircgopt.c