+2003-01-30 <johan@balder>
+
+ * src/SDCCBBlock.c: automatic bug detection
+ * src/SDCCicode.c: automatic bug detection
+
2003-01-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
* src/SDCCglobl.h: now --xram-size 0 works
void
remiCodeFromeBBlock (eBBlock * ebb, iCode * ic)
{
+ wassert (ic->seq>=ebb->fSeq && ic->seq<=ebb->lSeq);
if (ic->prev)
ic->prev->next = ic->next;
else
// this makes it more easy to catch bugs
struct bitVect *OP_DEFS(struct operand *op) {
- assert (IS_SYMOP(op));
+ wassert (IS_SYMOP(op));
return OP_SYMBOL(op)->defs;
}
struct bitVect *OP_DEFS_SET(struct operand *op, struct bitVect *bv) {
- assert (IS_SYMOP(op));
+ wassert (IS_SYMOP(op));
OP_SYMBOL(op)->defs=bv;
return bv;
}
struct bitVect *OP_USES(struct operand *op) {
- assert (IS_SYMOP(op));
+ wassert (IS_SYMOP(op));
return OP_SYMBOL(op)->uses;
}
struct bitVect *OP_USES_SET(struct operand *op, struct bitVect *bv) {
- assert (IS_SYMOP(op));
+ wassert (IS_SYMOP(op));
OP_SYMBOL(op)->uses=bv;
return bv;
}