fixed some pointer optimizations
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Feb 2000 22:19:52 +0000 (22:19 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 24 Feb 2000 22:19:52 +0000 (22:19 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@125 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCcse.c

index 0a2927702b599c7036ad98b1f32bdd76288bcf5a..04e6337f071d2010121341b95dfb65ba9a04be64 100644 (file)
@@ -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;