Revision 8fcd3692 tcg/tcg.c

b/tcg/tcg.c
196 196
    s->pool_current = NULL;
197 197
}
198 198

  
199
/* free all the pool */
200
void tcg_pool_free(TCGContext *s)
201
{
202
    TCGPool *p, *p1;
203

  
204
    for(p = s->pool_first; p != NULL; p = p1) {
205
        p1 = p->next;
206
        qemu_free(p);
207
    }
208
    s->pool_first = NULL;
209
    s->pool_cur = s->pool_end = NULL;
210
}
211

  
212 199
void tcg_context_init(TCGContext *s)
213 200
{
214 201
    int op, total_args, n;
......
655 642
}
656 643
#endif
657 644

  
658
void tcg_reg_alloc_start(TCGContext *s)
645
static void tcg_reg_alloc_start(TCGContext *s)
659 646
{
660 647
    int i;
661 648
    TCGTemp *ts;
......
1025 1012
/* Liveness analysis : update the opc_dead_iargs array to tell if a
1026 1013
   given input arguments is dead. Instructions updating dead
1027 1014
   temporaries are removed. */
1028
void tcg_liveness_analysis(TCGContext *s)
1015
static void tcg_liveness_analysis(TCGContext *s)
1029 1016
{
1030 1017
    int i, op_index, op, nb_args, nb_iargs, nb_oargs, arg, nb_ops;
1031 1018
    TCGArg *args;

Also available in: Unified diff