* src/pic/ralloc.c (regTypeNum),
* src/pic16/ralloc.c (regTypeNum): fixed statement/declaration order
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3298
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-04-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/SDCCsymt.h: a missing part of my last change
+ * src/pic/ralloc.c (regTypeNum),
+ * src/pic16/ralloc.c (regTypeNum): fixed statement/declaration order
+
2004-04-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.h,
* src/hc08/ralloc.c (regTypeNum),
* src/ds390/ralloc.c (regTypeNum),
* src/mcs51/ralloc.c (regTypeNum): check for dependancy hazards before
- creating pseudo symbols (fixed bugs #777768 and #933966)
+ creating pseudo symbols (fixed bugs #777768, #930484, and #933966)
2004-04-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
struct iCode *rematiCode; /* rematerialse with which instruction */
struct operand *reqv; /* register equivalent of a local variable */
struct symbol *prereqv; /* symbol before register equiv. substituion */
+ struct symbol *psbase; /* if pseudo symbol, the symbol it is based on */
union
{
struct symbol *spillLoc; /* register spil location */
if (ptrPseudoSymSafe (sym, ic)) {
+ symbol *psym;
+
debugLog (" %d - \n", __LINE__);
/* create a psuedo symbol & force a spil */
//X symbol *psym = newSymbol (rematStr (OP_SYMBOL (IC_LEFT (ic))), 1);
- symbol *psym = rematStr (OP_SYMBOL (IC_LEFT (ic)));
+ psym = rematStr (OP_SYMBOL (IC_LEFT (ic)));
psym->type = sym->type;
psym->etype = sym->etype;
psym->psbase = ptrBaseRematSym (OP_SYMBOL (IC_LEFT (ic)));
if (ptrPseudoSymSafe (sym, ic)) {
+ symbol *psym;
+
debugLog (" %d - \n", __LINE__);
/* create a psuedo symbol & force a spil */
//X symbol *psym = newSymbol (rematStr (OP_SYMBOL (IC_LEFT (ic))), 1);
- symbol *psym = rematStr (OP_SYMBOL (IC_LEFT (ic)));
+ psym = rematStr (OP_SYMBOL (IC_LEFT (ic)));
psym->type = sym->type;
psym->etype = sym->etype;
psym->psbase = ptrBaseRematSym (OP_SYMBOL (IC_LEFT (ic)));