can have isspilt==1 and spillLoc==NULL (?)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4949
4a8a32a2-be11-0410-ad9d-
d568d2c75423
op = IC_COND (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
op = IC_COND (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
- (OP_SYMBOL (op)->isspilt && !strcmp(SPIL_LOC (op)->rname, symname)) ))
+ (OP_SYMBOL (op)->isspilt &&
+ SPIL_LOC (op) &&
+ !strcmp(SPIL_LOC (op)->rname, symname)) ))
{
return !op->isvolatile;
}
{
return !op->isvolatile;
}
op = IC_JTCOND (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
op = IC_JTCOND (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
- (OP_SYMBOL (op)->isspilt && !strcmp(SPIL_LOC (op)->rname, symname)) ))
+ (OP_SYMBOL (op)->isspilt &&
+ SPIL_LOC (op) &&
+ !strcmp(SPIL_LOC (op)->rname, symname)) ))
{
return !op->isvolatile;
}
{
return !op->isvolatile;
}
op = IC_LEFT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
op = IC_LEFT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
- (OP_SYMBOL (op)->isspilt && !strcmp(SPIL_LOC (op)->rname, symname)) ))
+ (OP_SYMBOL (op)->isspilt &&
+ SPIL_LOC (op) &&
+ !strcmp(SPIL_LOC (op)->rname, symname)) ))
{
return !op->isvolatile;
}
op = IC_RIGHT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
{
return !op->isvolatile;
}
op = IC_RIGHT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
- (OP_SYMBOL (op)->isspilt && !strcmp(SPIL_LOC (op)->rname, symname)) ))
+ (OP_SYMBOL (op)->isspilt &&
+ SPIL_LOC (op) &&
+ !strcmp(SPIL_LOC (op)->rname, symname)) ))
{
return !op->isvolatile;
}
op = IC_RESULT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
{
return !op->isvolatile;
}
op = IC_RESULT (cl->ic);
if (IS_SYMOP (op) &&
( !strcmp(OP_SYMBOL (op)->rname, symname) ||
- (OP_SYMBOL (op)->isspilt && !strcmp(SPIL_LOC (op)->rname, symname)) ))
+ (OP_SYMBOL (op)->isspilt &&
+ SPIL_LOC (op) &&
+ !strcmp(SPIL_LOC (op)->rname, symname)) ))
{
return !op->isvolatile;
}
{
return !op->isvolatile;
}