From 5fec631ea234fbebfcfe47e979dbd25e69d22394 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 19 Aug 2004 17:03:27 +0000 Subject: [PATCH] the inevitable inconsistencies removed [r3740] --- ir/ana/cgana.c | 2 +- ir/ir/irvrfy.c | 15 +++++++-------- ir/opt/tailrec.c | 2 -- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ir/ana/cgana.c b/ir/ana/cgana.c index 71e588999..9ea174e3b 100644 --- a/ir/ana/cgana.c +++ b/ir/ana/cgana.c @@ -568,7 +568,7 @@ static void callee_ana(void) { irg_walk_graph(get_irp_irg(i), callee_walker, remove_Tuples, NULL); set_irg_callee_info_state(get_irp_irg(i), irg_callee_info_consistent); } - set_irp_callee_info_state(irg_callee_info_consistent); + //set_irp_callee_info_state(irg_callee_info_consistent); } diff --git a/ir/ir/irvrfy.c b/ir/ir/irvrfy.c index e8fe3823c..9aeef3006 100644 --- a/ir/ir/irvrfy.c +++ b/ir/ir/irvrfy.c @@ -668,14 +668,13 @@ int irn_vrfy_irg(ir_node *n, ir_graph *irg) break; case iro_Const: { - tarval *tv = get_Const_tarval(n); - ASSERT_AND_RET( - /* Const: BB --> data */ - (mode_is_data (mymode) || - mymode == mode_b) /* we want boolean constants for static evaluation */ - ,"Const node", 0 /* of Cmp. */ - ); - } break; + ASSERT_AND_RET( + /* Const: BB --> data */ + (mode_is_data (mymode) || + mymode == mode_b) /* we want boolean constants for static evaluation */ + ,"Const node", 0 /* of Cmp. */ + ); + } break; case iro_SymConst: if (get_SymConst_kind(n) == symconst_addr_ent) { diff --git a/ir/opt/tailrec.c b/ir/opt/tailrec.c index bf9e48f19..2bec6b422 100644 --- a/ir/opt/tailrec.c +++ b/ir/opt/tailrec.c @@ -24,7 +24,6 @@ #include "irgraph_t.h" #include "ircons.h" #include "irflag.h" -#include "tv.h" #include "firmstat.h" /** @@ -253,7 +252,6 @@ void opt_tail_rec_irg(ir_graph *irg) for (i = 0; i < n_preds; ++i) { ir_node *ret = get_Block_cfgpred(end_block, i); ir_node *proj_m, *call, *call_ptr; - tarval *tv; entity *ent; int j, n_ress; ir_node **ress; -- 2.20.1