mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-10 06:50:10 +08:00
pool for symbol allocation
This commit is contained in:
parent
48c85f1b15
commit
be5e9cb962
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user