+2004-09-23 Vangelis Rokas <vrokas AT otenet.gr>
+
+ * src/pic16/genutils.c (pic16_genNot): fixed bug #1032265,
+ * src/pic16/pcode.c: commented out some calls to free() in order to
+ fix bug #989576,
+
2004-09-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.h,
pic16_toBoolean( IC_LEFT(ic) );
tlbl = newiTempLabel(NULL);
- emitCLRC;
- pic16_emitpcode(POC_TSTFSZ, pic16_popCopyReg( &pic16_pc_wreg ));
emitSETC;
+ pic16_emitpcode(POC_TSTFSZ, pic16_popCopyReg( &pic16_pc_wreg ));
+ emitCLRC;
pic16_outBitC( IC_RESULT(ic) );
release:
if(!pc)
return;
- if((pc->type == PC_LABEL) && PCL(pc)->label)
- free(PCL(pc)->label);
+// if((pc->type == PC_LABEL) && PCL(pc)->label)
+// free(PCL(pc)->label);
/* Instead of deleting the memory used by this pCode, mark
* the object as bad so that if there's a pointer to this pCode
/* Found a label */
if(bprev) {
bprev->next = b->next; /* Not first pCode in chain */
- free(b);
+// free(b);
} else {
pc->destruct(pc);
PCI(pcl)->label = b->next; /* First pCode in chain */
- free(b);
+// free(b);
}
return; /* A label can't occur more than once */
}
pCodeOpLabel *pcol = PCOLAB(PCI(pc)->pcop);
// fprintf(stderr,"changing label key from %d to %d\n",pcol->key, pcl->key);
- if(pcol->pcop.name)
- free(pcol->pcop.name);
+// if(pcol->pcop.name)
+// free(pcol->pcop.name);
/* If the key is negative, then we (probably) have a label to
* a function and the name is already defined */
return;
- free(pb);
+// free(pb);
}