diff --git a/tcg/tcg.c b/tcg/tcg.c index 78ef50b6eeca5f90c6f2f8be71e94c6db1be4841..32cd0c6b657a10b905b9dffb2e28c470582d635a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -242,7 +242,6 @@ void tcg_context_init(TCGContext *s) int *sorted_args; memset(s, 0, sizeof(*s)); - s->temps = s->static_temps; s->nb_globals = 0; /* Count total number of arguments and allocate the corresponding diff --git a/tcg/tcg.h b/tcg/tcg.h index 562f0adcd4d7ecf41930f949d8caed1203cf878b..7bafe0eeb6b008aa4dd629749069c9dff95d3666 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -367,7 +367,6 @@ struct TCGContext { TCGPool *pool_first, *pool_current, *pool_first_large; TCGLabel *labels; int nb_labels; - TCGTemp *temps; /* globals first, temps after */ int nb_globals; int nb_temps; /* index of free temps, -1 if none */ @@ -393,7 +392,7 @@ struct TCGContext { int frame_reg; uint8_t *code_ptr; - TCGTemp static_temps[TCG_MAX_TEMPS]; + TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */ TCGHelperInfo *helpers; int nb_helpers;