From: johanknol Date: Sun, 20 May 2001 16:39:00 +0000 (+0000) Subject: i guess my mind was somewhere else ... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=9e377738d5cb41b1495736d56b46a2d5122fc85d;p=fw%2Fsdcc i guess my mind was somewhere else ... git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@841 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/ralloc.c b/src/ds390/ralloc.c index ccf99410..cbd4d82a 100644 --- a/src/ds390/ralloc.c +++ b/src/ds390/ralloc.c @@ -2220,7 +2220,7 @@ packForPush (iCode * ic, eBBlock * ebp) if (SPEC_USIGN(itype)!=SPEC_USIGN(ditype) || SPEC_SHORT(itype)!=SPEC_SHORT(ditype) || - SPEC_USIGN(itype)!=SPEC_USIGN(ditype)) + SPEC_LONG(itype)!=SPEC_LONG(ditype)) return; } /* extend the live range of replaced operand if needed */ diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 4baa22fa..01b0ff1f 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -2219,7 +2219,7 @@ packForPush (iCode * ic, eBBlock * ebp) if (SPEC_USIGN(itype)!=SPEC_USIGN(ditype) || SPEC_SHORT(itype)!=SPEC_SHORT(ditype) || - SPEC_USIGN(itype)!=SPEC_USIGN(ditype)) + SPEC_LONG(itype)!=SPEC_LONG(ditype)) return; } /* extend the live range of replaced operand if needed */