From 57a5cd556222ca016a1595621970c1bfb6ddb1f0 Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 13 Nov 2001 15:38:13 +0000 Subject: [PATCH] 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 --- src/SDCClrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2