git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@476
4a8a32a2-be11-0410-ad9d-
d568d2c75423
if (sym->ruonly ) {
int i;
if (sym->ruonly ) {
int i;
+
+ if (useDP2)
+ {
+ /* a AOP_STR uses DPTR, but DPTR is already in use;
+ * we're just hosed.
+ */
+ fprintf(stderr, "*** Internal error: AOP_STR with DPTR in use!\n");
+ }
+
aop = op->aop = sym->aop = newAsmop(AOP_STR);
aop->size = getSize(sym->type);
for ( i = 0 ; i < fReturnSize_390 ; i++ )
aop = op->aop = sym->aop = newAsmop(AOP_STR);
aop->size = getSize(sym->type);
for ( i = 0 ; i < fReturnSize_390 ; i++ )
/*-----------------------------------------------------------------*/
static iCode *packRegsForOneuse (iCode *ic, operand *op , eBBlock *ebp)
{
/*-----------------------------------------------------------------*/
static iCode *packRegsForOneuse (iCode *ic, operand *op , eBBlock *ebp)
{
+#if 1
+
+ /* I can't figure out how to make this safe yet. */
+ ic; op; ebp;
+ return NULL;
+
+
+#else
bitVect *uses ;
iCode *dic, *sic;
bitVect *uses ;
iCode *dic, *sic;
OP_SYMBOL(op)->ruonly = 1;
return sic;
OP_SYMBOL(op)->ruonly = 1;
return sic;
}
/*-----------------------------------------------------------------*/
}
/*-----------------------------------------------------------------*/