bugfix in saving rcx for lshl
authorchristian <none@none>
Mon, 28 Mar 2005 22:12:23 +0000 (22:12 +0000)
committerchristian <none@none>
Mon, 28 Mar 2005 22:12:23 +0000 (22:12 +0000)
src/vm/jit/x86_64/emitfuncs.c

index 5d672c0bbd932a0fbae4be339d7c4ae78ae596b7..4afc8296edfd07f9cec7d467ba98a6a89eb9a2d9 100644 (file)
@@ -26,7 +26,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: emitfuncs.c 2071 2005-03-24 17:56:17Z christian $
+   $Id: emitfuncs.c 2103 2005-03-28 22:12:23Z christian $
 
 */
 
@@ -373,7 +373,8 @@ void x86_64_emit_lshift(codegendata *cd, s4 shift_op, stackptr src, instruction
        s4 s2 = src->regoff;
        s4 d = iptr->dst->regoff;
        s4 d_old;
-
+       
+       d_old = -1;
        M_INTMOVE(RCX, REG_ITMP1);    /* save RCX */
        if (iptr->dst->flags & INMEMORY) {
                if ((src->flags & INMEMORY) && (src->prev->flags & INMEMORY)) {