git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5057
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2008-02-28 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/mcs51/ralloc.c (fillGaps): fixed bug 1839671
+
2008-02-27 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: corrected installation directory for
2008-02-27 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: corrected installation directory for
if (!sym->spillA || !sym->clashes || sym->remat) continue ;
if (!sym->spillA || !sym->clashes || sym->remat) continue ;
+ /* if spilt in direct space the original rname is lost */
+ if (sym->usl.spillLoc && (IN_DIRSPACE (SPEC_OCLS (sym->usl.spillLoc->etype))))
+ continue;
+
/* find the liveRanges this one clashes with, that are
still assigned to registers & mark the registers as used*/
for ( i = 0 ; i < sym->clashes->size ; i ++) {
/* find the liveRanges this one clashes with, that are
still assigned to registers & mark the registers as used*/
for ( i = 0 ; i < sym->clashes->size ; i ++) {
/* pack registers for accumulator use, when the
result of an arithmetic or bit wise operation
has only one use, that use is immediately following
/* pack registers for accumulator use, when the
result of an arithmetic or bit wise operation
has only one use, that use is immediately following
- the defintion and the using iCode has only one
+ the definition and the using iCode has only one
operand or has two operands but one is literal &
the result of that operation is not on stack then
we can leave the result of this operation in acc:b
operand or has two operands but one is literal &
the result of that operation is not on stack then
we can leave the result of this operation in acc:b