prevent push/pop-s for SEND registers
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 13 Nov 2001 15:38:13 +0000 (15:38 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 13 Nov 2001 15:38:13 +0000 (15:38 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1580 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCClrange.c

index b200b578424f6117da9f2608b46fcfba20a7bd57..254202a815178bbaf37e03ec5f71abf67bc49698 100644 (file)
@@ -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