git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2105
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+ /* if the usage has only one operand then we can */
+ if (IC_LEFT (uic) == NULL ||
+ IC_RIGHT (uic) == NULL)
+ goto accuse;
+
/* if the other operand uses the accumulator then we cannot */
if ( (IC_LEFT(uic)->key == IC_RESULT(ic)->key &&
operandUsesAcc(IC_RIGHT(uic))) ||
/* if the other operand uses the accumulator then we cannot */
if ( (IC_LEFT(uic)->key == IC_RESULT(ic)->key &&
operandUsesAcc(IC_RIGHT(uic))) ||
operandUsesAcc(IC_LEFT(uic))) )
return;
operandUsesAcc(IC_LEFT(uic))) )
return;
- /* if the usage has only one operand then we can */
- if (IC_LEFT (uic) == NULL ||
- IC_RIGHT (uic) == NULL)
- goto accuse;
-
/* make sure this is on the left side if not commutative */
/* except for '-', which has been written to be able to
handle reversed operands */
/* make sure this is on the left side if not commutative */
/* except for '-', which has been written to be able to
handle reversed operands */