Commit c588979bfc41a0340bdf8b5e32fe4ae8f1e25aed

Authored by ths
1 parent ec9d6075

Allocate a register pair instead of a single register.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4688 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
tcg/tcg.c
... ... @@ -353,7 +353,7 @@ TCGv tcg_global_mem_new(TCGType type, int reg, tcg_target_long offset,
353 353 #if TCG_TARGET_REG_BITS == 32
354 354 if (type == TCG_TYPE_I64) {
355 355 char buf[64];
356   - tcg_temp_alloc(s, s->nb_globals + 1);
  356 + tcg_temp_alloc(s, s->nb_globals + 2);
357 357 ts = &s->temps[s->nb_globals];
358 358 ts->base_type = type;
359 359 ts->type = TCG_TYPE_I32;
... ...