git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1075
4a8a32a2-be11-0410-ad9d-
d568d2c75423
/* if this is a +/- operation with a rematerizable
then mark this as rematerializable as well */
/* if this is a +/- operation with a rematerizable
then mark this as rematerializable as well */
+#if 0
+ // jwk 20010716: temporary disabled because of bug #441448
if ((ic->op == '+' || ic->op == '-') &&
(IS_SYMOP (IC_LEFT (ic)) &&
IS_ITEMP (IC_RESULT (ic)) &&
if ((ic->op == '+' || ic->op == '-') &&
(IS_SYMOP (IC_LEFT (ic)) &&
IS_ITEMP (IC_RESULT (ic)) &&
OP_SYMBOL (IC_RESULT (ic))->rematiCode = ic;
OP_SYMBOL (IC_RESULT (ic))->usl.spillLoc = NULL;
}
OP_SYMBOL (IC_RESULT (ic))->rematiCode = ic;
OP_SYMBOL (IC_RESULT (ic))->usl.spillLoc = NULL;
}
/* mark the pointer usages */
if (POINTER_SET (ic))
/* mark the pointer usages */
if (POINTER_SET (ic))
for (ic = ebp->sch; ic; ic = ic->next)
{
for (ic = ebp->sch; ic; ic = ic->next)
{
- /* if this is an itemp & result of a address of a true sym
+ /* if this is an itemp & result of an address of a true sym
then mark this as rematerialisable */
if (ic->op == ADDRESS_OF &&
IS_ITEMP (IC_RESULT (ic)) &&
then mark this as rematerialisable */
if (ic->op == ADDRESS_OF &&
IS_ITEMP (IC_RESULT (ic)) &&
/* if this is a +/- operation with a rematerizable
then mark this as rematerializable as well */
/* if this is a +/- operation with a rematerizable
then mark this as rematerializable as well */
+#if 0
+ // jwk 20010716: temporary disabled because of bug #441448
if ((ic->op == '+' || ic->op == '-') &&
(IS_SYMOP (IC_LEFT (ic)) &&
IS_ITEMP (IC_RESULT (ic)) &&
if ((ic->op == '+' || ic->op == '-') &&
(IS_SYMOP (IC_LEFT (ic)) &&
IS_ITEMP (IC_RESULT (ic)) &&
OP_SYMBOL (IC_RESULT (ic))->rematiCode = ic;
OP_SYMBOL (IC_RESULT (ic))->usl.spillLoc = NULL;
}
OP_SYMBOL (IC_RESULT (ic))->rematiCode = ic;
OP_SYMBOL (IC_RESULT (ic))->usl.spillLoc = NULL;
}
/* mark the pointer usages */
if (POINTER_SET (ic))
/* mark the pointer usages */
if (POINTER_SET (ic))
/* now get back the chain */
ic = iCodeLabelOptimize (iCodeFromeBBlock (ebbs, count));
/* now get back the chain */
ic = iCodeLabelOptimize (iCodeFromeBBlock (ebbs, count));
gen51Code (ic);
/* free up any _G.stackSpil locations allocated */
gen51Code (ic);
/* free up any _G.stackSpil locations allocated */