* src/SDCClrange.c (rlivePoint): live range of SEND operand should
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 16 Feb 2004 06:30:36 +0000 (06:30 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 16 Feb 2004 06:30:36 +0000 (06:30 +0000)
extend to the next CALL or PCALL, not just to the next CALL.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3200 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/SDCClrange.c

index 2189e4963f6f88652a60bcb1b04261ac33dce540..642e41ded7adede7d370e83b211aa417423830c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCClrange.c (rlivePoint): live range of SEND operand should
+       extend to the next CALL or PCALL, not just to the next CALL.
+
 2004-02-16 Vangelis Rokas <vrokas AT otenet.gr>
 
        * src/pic16/gen.c (genInline): fixed bug #896482 with inline assembly
index f96e3635b55b05631483ee3b734b039ceb6bebee..1c2c8493d53d05ad8217944d321e8fbd1d788579 100644 (file)
@@ -423,7 +423,7 @@ rlivePoint (eBBlock ** ebbs, int count)
                      iCode *lic;
                      for (lic = ic; lic; lic = lic->next)
                        {
-                         if (lic->op == CALL)
+                         if (lic->op == CALL || lic->op == PCALL)
                            {
                              markAlive (ic, lic->prev, IC_LEFT (ic)->key);
                              break;