From 2b657530168885d20066969b4f3d2f85a6d10232 Mon Sep 17 00:00:00 2001 From: sandeep Date: Mon, 15 Oct 2001 02:08:35 +0000 Subject: [PATCH] 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 --- src/ds390/ralloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.47.2