From 96845d7f5b41c8ea36ca7217e1c1607573dbf317 Mon Sep 17 00:00:00 2001 From: epetrich Date: Mon, 16 Feb 2004 06:30:36 +0000 Subject: [PATCH] * src/SDCClrange.c (rlivePoint): live range of SEND operand should 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 | 5 +++++ src/SDCClrange.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2189e496..642e41de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-16 Erik Petrich + + * 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 * src/pic16/gen.c (genInline): fixed bug #896482 with inline assembly diff --git a/src/SDCClrange.c b/src/SDCClrange.c index f96e3635..1c2c8493 100644 --- a/src/SDCClrange.c +++ b/src/SDCClrange.c @@ -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; -- 2.30.2