static void tcg_reg_alloc_bb_end(TCGContext *s, TCGRegSet allocated_regs)

{

    int i;



    for (i = s->nb_globals; i < s->nb_temps; i++) {

        TCGTemp *ts = &s->temps[i];

        if (ts->temp_local) {

            temp_save(s, ts, allocated_regs);

        } else {

#ifdef USE_LIVENESS_ANALYSIS

            /* ??? Liveness does not yet incorporate indirect bases.  */

            if (!ts->indirect_base) {

                /* The liveness analysis already ensures that temps are dead.

                   Keep an assert for safety. */

                assert(ts->val_type == TEMP_VAL_DEAD);

                continue;

            }

#endif

            temp_dead(s, ts);

        }

    }



    save_globals(s, allocated_regs);

}

static void tcg_reg_alloc_bb_end(TCGContext *s, TCGRegSet allocated_regs)

{

    int i;



    for (i = s->nb_globals; i < s->nb_temps; i++) {

        TCGTemp *ts = &s->temps[i];

        if (ts->temp_local) {

            temp_save(s, ts, allocated_regs);

        } else {

#ifdef USE_LIVENESS_ANALYSIS

            

            if (!ts->indirect_base) {

                



                assert(ts->val_type == TEMP_VAL_DEAD);

                continue;

            }

#endif

            temp_dead(s, ts);

        }

    }



    save_globals(s, allocated_regs);

}

static void FUNC_0(TCGContext *VAR_0, TCGRegSet VAR_1)

{

    int VAR_2;



    for (VAR_2 = VAR_0->nb_globals; VAR_2 < VAR_0->nb_temps; VAR_2++) {

        TCGTemp *ts = &VAR_0->temps[VAR_2];

        if (ts->temp_local) {

            temp_save(VAR_0, ts, VAR_1);

        } else {

#ifdef USE_LIVENESS_ANALYSIS

            

            if (!ts->indirect_base) {

                



                assert(ts->val_type == TEMP_VAL_DEAD);

                continue;

            }

#endif

            temp_dead(VAR_0, ts);

        }

    }



    save_globals(VAR_0, VAR_1);

}

static void FUNC_0(TCGContext *VAR_0, TCGRegSet VAR_1)
{ int VAR_2; for (VAR_2 = VAR_0->nb_globals; VAR_2 < VAR_0->nb_temps; VAR_2++) { TCGTemp *ts = &VAR_0->temps[VAR_2]; if (ts->temp_local) { temp_save(VAR_0, ts, VAR_1); } else { #ifdef USE_LIVENESS_ANALYSIS
if (!ts->indirect_base) { assert(ts->val_type == TEMP_VAL_DEAD); continue; } #endif
temp_dead(VAR_0, ts); } } save_globals(VAR_0, VAR_1); }