Commit 3fc1c705 authored by Michael Beck's avatar Michael Beck
Browse files

C99 feature removed.

[r28074]
parent 8a1c0ad6
/*
* Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
* Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
......@@ -1326,8 +1326,8 @@ static void lower_Proj_Cmp(lower_env_t *env, ir_node *proj)
static void lower_Proj(ir_node *node, ir_mode *mode, lower_env_t *env)
{
(void) mode;
ir_node *pred = get_Proj_pred(node);
(void) mode;
if (is_Cmp(pred)) {
lower_Proj_Cmp(env, node);
}
......
......@@ -1683,6 +1683,7 @@ static void create_duffs_block(void)
ir_node *count, *correction, *unroll_c;
ir_node *cmp_bad_count, *good_count, *bad_count, *count_phi, *bad_count_neg;
ir_node *phi;
mode = get_irn_mode(loop_info.end_val);
const_null = new_Const(get_mode_null(mode));
......@@ -1695,7 +1696,6 @@ static void create_duffs_block(void)
/* Create loop entry phis in first duff block
* as it becomes the loops preheader */
ir_node *phi;
for_each_phi(loop_head, phi) {
/* Returns phis pred if phi would have arity 1*/
ir_node *new_phi = clone_phis_sans_bes(phi, loop_head, block1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment