+2004-02-20 Bernhard Held <bernhard AT bernhardheld.de>
+
+ * src/pic16/ralloc.c (packRegsForAccUse): disabled functions with #if
+ to eliminate build warnings.
+ * src/pic16/gen.c (pic16_popGet): fixed for gcc 2.95.4
+
2004-02-20 Vangelis Rokas <vrokas AT otenet.gr>
Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
return pic16_popGetImmd(aop->aopu.aop_immd,offset,0);
case AOP_ACC:
- fprintf(stderr, "%s:%d returning register AOP_ACC %s\n", __FILE__, __LINE__, aop->aopu.aop_str[offset]);
-
+ {
int rIdx = IDX_WREG; //aop->aopu.aop_reg[offset]->rIdx;
+ fprintf(stderr, "%s:%d returning register AOP_ACC %s\n", __FILE__, __LINE__, aop->aopu.aop_str[offset]);
+
DEBUGpic16_emitcode(";","%d\tAOP_ACC", __LINE__);
pcop = Safe_calloc(1,sizeof(pCodeOpReg) );
return pcop;
- return pic16_popRegFromString(aop->aopu.aop_str[offset], aop->size, offset);
+// return pic16_popRegFromString(aop->aopu.aop_str[offset], aop->size, offset);
// return pic16_newpCodeOpRegFromStr(aop->aopu.aop_str[offset]);
// assert( 0 );
+ }
case AOP_DIR:
DEBUGpic16_emitcode(";","%d\tAOP_DIR", __LINE__);
/*-----------------------------------------------------------------*/
/* packRegsForAccUse - pack registers for acc use */
/*-----------------------------------------------------------------*/
+#if 0
+
static void
packRegsForAccUse (iCode * ic)
{
}
+#endif
/*-----------------------------------------------------------------*/
/* packForPush - hueristics to reduce iCode for pushing */