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
+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
2004-02-16 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (genInline): fixed bug #896482 with inline assembly
iCode *lic;
for (lic = ic; lic; lic = lic->next)
{
iCode *lic;
for (lic = ic; lic; lic = lic->next)
{
+ if (lic->op == CALL || lic->op == PCALL)
{
markAlive (ic, lic->prev, IC_LEFT (ic)->key);
break;
{
markAlive (ic, lic->prev, IC_LEFT (ic)->key);
break;