X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Ftailrec.h;h=0c553c9c56051d9d1200f08d2af0dee0367e3c47;hb=9bea3d74018e82f653deadff88f8626fd1a6557d;hp=deedd1272507a6a0907dddf017025e5090857721;hpb=865051578caa46467a9f1b97c6447e1a1e73b340;p=libfirm diff --git a/ir/opt/tailrec.h b/ir/opt/tailrec.h index deedd1272..0c553c9c5 100644 --- a/ir/opt/tailrec.h +++ b/ir/opt/tailrec.h @@ -29,8 +29,10 @@ * Does not work for Calls that use the exception stuff. * * @param irg the graph to be optimized + * + * @return non-zero if the optimization could be applied, 0 else */ -void opt_tail_rec_irg(ir_graph *irg); +int opt_tail_rec_irg(ir_graph *irg); /* * Optimize tail-recursion calls for all IR-Graphs.