From: Christian Helmer Date: Mon, 17 May 2010 11:03:40 +0000 (+0000) Subject: Fixed wrongly set debug values. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=10db20c32508f5f1006568250b9ad89f42c1f197;p=libfirm Fixed wrongly set debug values. [r27540] --- diff --git a/ir/opt/loop.c b/ir/opt/loop.c index ae005ac05..5cc9f2edf 100644 --- a/ir/opt/loop.c +++ b/ir/opt/loop.c @@ -53,9 +53,10 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg); /* DBG print stats for every procedure. */ -#define LOOP_OPT_STATS +#define LOOP_OPT_STATS 0 + /* DBG: Ignore node limits and process every possible loop. */ -#define LOOP_IGNORE_NODE_LIMITS 1 +#define LOOP_IGNORE_NODE_LIMITS 0 /** * Convenience macro for iterating over every phi node of the given block. @@ -103,7 +104,7 @@ static unsigned loop_head_valid = 1; /* List of all inner loops, that are processed. */ static ir_loop **loops; -#ifdef LOOP_OPT_STATS +#if LOOP_OPT_STATS #define count_stats(val) (++val) #define print_stats() (do_print_stats()) @@ -1265,7 +1266,7 @@ static void loop_inversion(void) unmark_not_allowed_cc_blocks(); DEL_ARR_F(cc_blocks); -#if IGNORE_NODE_LIMITS +#if LOOP_IGNORE_NODE_LIMITS (void) unmark_cc_blocks; #else /* Condition chain too large. @@ -2498,6 +2499,7 @@ static void init_analyze(ir_loop *loop) int loop_depth; unsigned max_loop_nodes = opt_params.max_loop_size; unsigned max_loop_nodes_adapted; + int max_calls = opt_params.allowed_calls; int depth_adaption = opt_params.depth_adaption; cur_loop = loop;