Found better way to handle Michaels spillocation
problem cse.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@100
4a8a32a2-be11-0410-ad9d-
d568d2c75423
if (ASSIGN_ITEMP_TO_ITEMP(ic) &&
!SPIL_LOC(IC_RIGHT(ic)) &&
- bitVectnBitsOn(OP_USES(IC_RIGHT(ic))) == 0 &&
+ !bitVectBitsInCommon(OP_DEFS(IC_RIGHT(ic)),OP_USES(IC_RESULT(ic))) &&
OP_SYMBOL(IC_RESULT(ic))->isreqv) {
setype = getSpec(operandType(IC_RESULT(ic)));
else
replaceRule (&spl, mtail,pr);
- /* if it was the start then replace
- the start */
-
/* if restart rule type then
start at the top again */
if (pr->restart)