summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c6be32c)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2534
4a8a32a2-be11-0410-ad9d-
d568d2c75423
2003-04-17 <johan@balder>
2003-04-17 <johan@balder>
+ * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
* src/mcs51/ralloc.c (packRegisters): fixed bug #720667
2003-04-13 Borut Razem <borut.razem@siol.net>
* src/mcs51/ralloc.c (packRegisters): fixed bug #720667
2003-04-13 Borut Razem <borut.razem@siol.net>
we cannot */
for (dic = ic->prev; dic; dic = dic->prev)
{
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;
}
/* if there is a function call then don't pack it */
if ((dic->op == CALL || dic->op == PCALL))
{
dic = NULL;
break;
}
if (SKIP_IC2 (dic))
continue;
if (SKIP_IC2 (dic))
continue;