c89
This commit is contained in:
@ -36,6 +36,9 @@ static void release_common(void *t)
|
|||||||
TCGContext *s = (TCGContext *)t;
|
TCGContext *s = (TCGContext *)t;
|
||||||
struct uc_struct* uc = s->uc;
|
struct uc_struct* uc = s->uc;
|
||||||
CPUState *cpu;
|
CPUState *cpu;
|
||||||
|
#if TCG_TARGET_REG_BITS == 32
|
||||||
|
int i;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Clean TCG.
|
// Clean TCG.
|
||||||
TCGOpDef* def = &s->tcg_op_defs[0];
|
TCGOpDef* def = &s->tcg_op_defs[0];
|
||||||
@ -83,7 +86,7 @@ static void release_common(void *t)
|
|||||||
free(uc->qemu_thread_data);
|
free(uc->qemu_thread_data);
|
||||||
|
|
||||||
#if TCG_TARGET_REG_BITS == 32
|
#if TCG_TARGET_REG_BITS == 32
|
||||||
for(int i = 0; i < s->nb_globals; i++) {
|
for(i = 0; i < s->nb_globals; i++) {
|
||||||
TCGTemp *ts = &s->temps[i];
|
TCGTemp *ts = &s->temps[i];
|
||||||
if (ts->base_type == TCG_TYPE_I64) {
|
if (ts->base_type == TCG_TYPE_I64) {
|
||||||
if (ts->name && ((strcmp(ts->name+(strlen(ts->name)-2), "_0") == 0) ||
|
if (ts->name && ((strcmp(ts->name+(strlen(ts->name)-2), "_0") == 0) ||
|
||||||
|
Reference in New Issue
Block a user