From: Christoph Mallon Date: Sat, 18 Oct 2008 10:00:31 +0000 (+0000) Subject: Remove unused variables. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0fbafc8aebc97899bfc5d718f66488288abb8aa4;p=libfirm Remove unused variables. [r22982] --- diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 693646829..4b96b9782 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -369,13 +369,9 @@ void be_pre_spill_prepare_constr(be_chordal_env_t *cenv) { static void pair_up_operands(const be_chordal_alloc_env_t *alloc_env, be_insn_t *insn) { const be_chordal_env_t *env = alloc_env->chordal_env; - - int n_uses = be_insn_n_uses(insn); - int n_defs = be_insn_n_defs(insn); - bitset_t *bs = bitset_alloca(env->cls->n_regs); - int *pairing = alloca(MAX(n_defs, n_uses) * sizeof(pairing[0])); - - int i, j; + bitset_t *bs = bitset_alloca(env->cls->n_regs); + int i; + int j; /* For each out operand, try to find an in operand which can be assigned the