From 9725bf579734cef770151f001d78a8972436a9cd Mon Sep 17 00:00:00 2001 From: johanknol Date: Wed, 9 Apr 2003 09:04:39 +0000 Subject: [PATCH] after a good night sleep, let's try again git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2500 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/mcs51/ralloc.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 546708ca..6289a4a2 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -1107,15 +1107,15 @@ serialRegAssign (eBBlock ** ebbs, int count) /* of all instructions do */ for (ic = ebbs[i]->sch; ic; ic = ic->next) { -#if 0 - int i; +#if 1 + int reg; // update the registers in use at the start of this icode - for (i=0; i<8; i++) { - if (regs8051[i].isFree) { - ic->riu &= ~(1<riu &= ~(1<riu |= (1<riu |= (1<