From: johanknol Date: Tue, 13 Nov 2001 15:38:13 +0000 (+0000) Subject: prevent push/pop-s for SEND registers X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=57a5cd556222ca016a1595621970c1bfb6ddb1f0;p=fw%2Fsdcc prevent push/pop-s for SEND registers git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1580 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCClrange.c b/src/SDCClrange.c index b200b578..254202a8 100644 --- a/src/SDCClrange.c +++ b/src/SDCClrange.c @@ -311,7 +311,7 @@ operandLUse (operand * op, eBBlock ** ebbs, if (lic->op == CALL || lic->op == PCALL) break; } /* found it : mark */ - if (lic) torange = lic->seq; + if (lic) torange = lic->prev->seq; } /* if this is the last use then if this block belongs to a loop & some definition comes into the loop