2004-05-07 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Fri, 7 May 2004 17:45:31 +0000 (17:45 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 7 May 2004 17:45:31 +0000 (17:45 -0000)
* mini-x86.c (mono_arch_local_regalloc): Remove the previous fix, since
it causes regressions.

svn path=/trunk/mono/; revision=26936

mono/mini/ChangeLog
mono/mini/mini-x86.c

index 6c75af2fa6ff88fb85e9c07068a7b0d6c8277885..a62a473cf098b542d9f1c65fc7e4accb297b9f86 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-07  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-x86.c (mono_arch_local_regalloc): Remove the previous fix, since
+       it causes regressions.
+
 2004-05-07  Zoltan Varga  <vargaz@freemail.hu>
 
        * mini-sparc.c: Fix vararg support + add beginnings of sigaltstack
index 971b456a6873a1665f0b3857db13db81cfb5d6c3..2c919973675dda7bd283c2f18c4dd410a64cadb0 100644 (file)
@@ -1444,8 +1444,6 @@ mono_arch_local_regalloc (MonoCompile *cfg, MonoBasicBlock *bb)
                                        int new_dest = mono_regstate_alloc_int (rs, dest_mask);
                                        if (new_dest < 0)
                                                new_dest = get_register_spilling (cfg, tmp, ins, dest_mask, ins->dreg);
-                                       /* new_dest is only used inside this opcode */
-                                       mono_regstate_free_int (cfg->rs, new_dest);
                                        g_assert (new_dest >= 0);
                                        DEBUG (g_print ("\tclob:s changing dreg from R%d to %s (val = %d)\n", ins->dreg, mono_arch_regname (new_dest), val));
                                        clob_dreg = ins->dreg;