From: sandeep Date: Mon, 15 Oct 2001 02:08:35 +0000 (+0000) Subject: Same enhancement as in mcs51/ralloc.c can set accuse X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2b657530168885d20066969b4f3d2f85a6d10232;p=fw%2Fsdcc Same enhancement as in mcs51/ralloc.c can set accuse if conditional & used only in IFX git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1400 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/ralloc.c b/src/ds390/ralloc.c index a310023b..57fb46cd 100644 --- a/src/ds390/ralloc.c +++ b/src/ds390/ralloc.c @@ -2488,11 +2488,10 @@ packRegisters (eBBlock * ebp) we can leave the result of this operation in acc:b combination */ if ((IS_ARITHMETIC_OP (ic) - + || IS_CONDITIONAL(ic) || IS_BITWISE_OP (ic) - || ic->op == LEFT_OP || ic->op == RIGHT_OP - + || (ic->op == ADDRESS_OF && isOperandOnStack (IC_LEFT (ic))) ) && IS_ITEMP (IC_RESULT (ic)) && getSize (operandType (IC_RESULT (ic))) <= 2)