From 55b1162a2daf76ac6c483c55c2bb39138819101e Mon Sep 17 00:00:00 2001 From: epetrich Date: Thu, 23 Oct 2003 14:22:50 +0000 Subject: [PATCH] * src/z80/ralloc.c (joinPushes): Fixed bug #828742 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2959 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ src/z80/ralloc.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 268ea088..b2ea2977 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-10-23 Erik Petrich + + * src/z80/ralloc.c (joinPushes): Fixed bug #828742 + 2003-10-23 Erik Petrich * src/SDCCmain.c, diff --git a/src/z80/ralloc.c b/src/z80/ralloc.c index 8becb698..99513386 100644 --- a/src/z80/ralloc.c +++ b/src/z80/ralloc.c @@ -2967,6 +2967,7 @@ joinPushes (iCode *lic) sprintf (buffer, "%uu", ((first << 8) | (second & 0xFF)) & 0xFFFFU); val = constVal (buffer); SPEC_NOUN (val->type) = V_INT; + IC_LEFT (ic) = operandFromOperand (IC_LEFT (ic)); IC_LEFT (ic)->operand.valOperand = val; /* Now remove the second one from the list. */ -- 2.30.2