From 4925c284ca84386d7042775a89cfd5e40799f708 Mon Sep 17 00:00:00 2001 From: sandeep Date: Thu, 24 Feb 2000 22:19:52 +0000 Subject: [PATCH] fixed some pointer optimizations git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@125 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCcse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDCCcse.c b/src/SDCCcse.c index 0a292770..04e6337f 100644 --- a/src/SDCCcse.c +++ b/src/SDCCcse.c @@ -282,7 +282,7 @@ DEFSETFUNC(findPointerSet) IC_RESULT(cdp->diCode)->key == op->key && !isOperandVolatile(IC_RESULT(cdp->diCode),TRUE) && !isOperandVolatile(IC_RIGHT(cdp->diCode),TRUE) && - getSize(operandType(IC_RESULT(cdp->diCode))) == + getSize(operandType(IC_RIGHT(cdp->diCode))) == getSize(operandType(rop))) { *opp = IC_RIGHT(cdp->diCode); return 1; -- 2.47.2