Skip to contentSkip to conversation

[4688] Allocate a register pair instead of a single register.

Qemu-devel Thiemo Seufer 1 participant 1 message Jun 7, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4688

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4688
Author:   ths
Date:     2008-06-07 04:31:49 +0000 (Sat, 07 Jun 2008)

Log Message:
-----------
Allocate a register pair instead of a single register.

Modified Paths:
--------------
trunk/tcg/tcg.c

Modified: trunk/tcg/tcg.c
===================================================================

tcg/tcg.c +1 -1
@@ -353,7 +353,7 @@
 #if TCG_TARGET_REG_BITS == 32
     if (type == TCG_TYPE_I64) {
         char buf[64];
-        tcg_temp_alloc(s, s->nb_globals + 1);
+        tcg_temp_alloc(s, s->nb_globals + 2);
         ts = &s->temps[s->nb_globals];
         ts->base_type = type;
         ts->type = TCG_TYPE_I32;