pool for symbol allocation
This commit is contained in:
2
tccasm.c
2
tccasm.c
@ -302,7 +302,7 @@ static void asm_free_labels(TCCState *st)
|
|||||||
}
|
}
|
||||||
/* remove label */
|
/* remove label */
|
||||||
table_ident[s->v - TOK_IDENT]->sym_label = NULL;
|
table_ident[s->v - TOK_IDENT]->sym_label = NULL;
|
||||||
tcc_free(s);
|
sym_free(s);
|
||||||
}
|
}
|
||||||
st->asm_labels = NULL;
|
st->asm_labels = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user