currFunc->regsUsed = bitVectSetBit (currFunc->regsUsed, i);
return ®s390[i];
}
- /* otherwise look for specific type
- of register */
+ /* otherwise look for specific type of register */
if (regs390[i].isFree &&
regs390[i].type == type)
{
/*-----------------------------------------------------------------*/
/* getRegBitNoSpil - get it cannot be spilt */
/*-----------------------------------------------------------------*/
-#if 0
static regs *getRegBitNoSpil()
{
regs *reg;
/* just to make the compiler happy */
return 0;
}
-#endif
/*-----------------------------------------------------------------*/
/* symHasReg - symbol has a given register */
for (i=0; i < sym->nRegs ; i++ ) {
if (sym->regType == REG_PTR)
sym->regs[i] = getRegPtrNoSpil ();
+ else if (sym->regType == REG_BIT)
+ sym->regs[i] = getRegBitNoSpil ();
else
sym->regs[i] = getRegGprNoSpil ();
}