X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmcs51%2Fralloc.c;h=a97776bea7b6b80c9b5534bd6feb75f8a27d5215;hb=0d1c4b141ea40950ea0bd39e1cdcd8795cd3023b;hp=795237d22ffb660e548047ec8158ae793ba2282c;hpb=c6be32c901f14e299c0d0dbcca0cded0d928cec6;p=fw%2Fsdcc diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 795237d2..a97776be 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -1763,12 +1763,19 @@ packRegsForAssign (iCode * ic, eBBlock * ebp) we cannot */ for (dic = ic->prev; dic; dic = dic->prev) { + +#if 0 /* jwk: This collides with 1.43 but I really see no need for + this anymore. It fixes bug #716790 and substantially improves + redundant register usage around function calls. + */ + /* if there is a function call then don't pack it */ if ((dic->op == CALL || dic->op == PCALL)) { dic = NULL; break; } +#endif if (SKIP_IC2 (dic)) continue;