From: Michael Beck Date: Mon, 3 Jul 2006 13:20:46 +0000 (+0000) Subject: fixed equivalent_node_Quot() X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=23ea16875f38dc0c067cce24f64b5c70f3acc496;p=libfirm fixed equivalent_node_Quot() [r7993] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 0cfee7b80..0c6d0490a 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1085,8 +1085,8 @@ static ir_node *equivalent_node_Div(ir_node *n) * Optimize a / 1.0 = a. */ static ir_node *equivalent_node_Quot(ir_node *n) { - ir_node *a = get_Div_left(n); - ir_node *b = get_Div_right(n); + ir_node *a = get_Quot_left(n); + ir_node *b = get_Quot_right(n); /* Div is not commutative. */ if (classify_tarval(value_of(b)) == TV_CLASSIFY_ONE) { /* Quot(x, 1) == x */