[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] I'm confused
From: |
Anton Ustyancev |
Subject: |
[Tinycc-devel] I'm confused |
Date: |
Fri, 24 Jun 2005 09:35:29 +0600 |
User-agent: |
KMail/1.7.2 |
Is it possible to create full-function TCCState structure? For holding all
data needed for STATE. W/o that only ONE TCCState structure can be active at
the same time. For example, source of "tcc_delete()":
void tcc_delete(TCCState *s1)
{
int i, n;
/* free -D defines */
free_defines(NULL);
/* free tokens */
n = tok_ident - TOK_IDENT;
for(i = 0; i < n; i++)
tcc_free(table_ident[i]);
tcc_free(table_ident);
/* free all sections */
free_section(symtab_section->hash);
...
Or divide STATE into 2 STATEs: one for compiling, one for loading/linking
Anton.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] I'm confused,
Anton Ustyancev <=