X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fkaps%2Fheuristical.c;h=18ef165add40994bdabb7b80b61f1acd38161d8f;hb=1d523ad26cd541494c1e6cd8dc4b0736f0adc2cf;hp=7c2a2943409b92bae4024a272b83ef4558c77118;hpb=171a98cff2d5ae80ee5a4f4cf71ba2a0e75e611e;p=libfirm diff --git a/ir/kaps/heuristical.c b/ir/kaps/heuristical.c index 7c2a29434..18ef165ad 100644 --- a/ir/kaps/heuristical.c +++ b/ir/kaps/heuristical.c @@ -22,7 +22,6 @@ * @brief Heuristic PBQP solver. * @date 02.10.2008 * @author Sebastian Buchwald - * @version $Id$ */ #include "config.h" @@ -33,7 +32,7 @@ #include "bucket.h" #include "heuristical.h" #include "optimal.h" -#if KAPS_DUMP +#if KAPS_DUMP #include "html_dumper.h" #endif #include "kaps.h" @@ -57,18 +56,18 @@ static void apply_RN(pbqp_t *pbqp) node = get_node_with_max_degree(); assert(pbqp_node_get_degree(node) > 2); -#if KAPS_DUMP +#if KAPS_DUMP if (pbqp->dump_file) { char txt[100]; sprintf(txt, "RN-Reduction of Node n%d", node->index); - dump_section(pbqp->dump_file, 2, txt); + pbqp_dump_section(pbqp->dump_file, 2, txt); pbqp_dump_graph(pbqp); } #endif min_index = get_local_minimal_alternative(pbqp, node); -#if KAPS_DUMP +#if KAPS_DUMP if (pbqp->dump_file) { fprintf(pbqp->dump_file, "node n%d is set to %d

\n", node->index, min_index);