X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic%2Fralloc.c;h=87921515ea21a5a2c8b226df26f36053cfea2931;hb=2817542c3072299402d4a58a77541779c1baa1b6;hp=0e391bb83b94e6a87321f87783fa1dc94654edbc;hpb=9ab4eb154ce78edd59b00a8f0764b6fa017eb751;p=fw%2Fsdcc diff --git a/src/pic/ralloc.c b/src/pic/ralloc.c index 0e391bb8..87921515 100644 --- a/src/pic/ralloc.c +++ b/src/pic/ralloc.c @@ -1874,6 +1874,7 @@ regTypeNum () (ic = hTabItemWithKey (iCodehTab, bitVectFirstBit (sym->defs))) && POINTER_GET (ic) && + !sym->noSpilLoc && !IS_BITVAR (sym->etype)) { @@ -2924,7 +2925,7 @@ packRegisters (eBBlock * ebp) /* if the type from and type to are the same then if this is the only use then packit */ - if (checkType (operandType (IC_RIGHT (ic)), + if (compareType (operandType (IC_RIGHT (ic)), operandType (IC_LEFT (ic))) == 1) { iCode *dic = packRegsForOneuse (ic, IC_RIGHT (ic), ebp);