From: johanknol Date: Mon, 19 Nov 2001 14:21:12 +0000 (+0000) Subject: fixed a last minute type X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=feb3b4c002df1dafd6d19a2d782b72ad19d877c9;p=fw%2Fsdcc fixed a last minute type git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1623 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/ralloc.c b/src/ds390/ralloc.c index 485f47a4..bea44d47 100644 --- a/src/ds390/ralloc.c +++ b/src/ds390/ralloc.c @@ -2248,7 +2248,7 @@ packRegsForAccUse (iCode * ic) OP_SYMBOL (IC_RESULT (uic))->onStack) return; #else - ifSymbolOnStack(IC_RESULT(uic)) + if (isOperandOnStack(IC_RESULT(uic))) return; #endif diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 05753157..e377d6f1 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -2152,9 +2152,9 @@ packRegsForAccUse (iCode * ic) #if 0 if (IS_TRUE_SYMOP (IC_RESULT (uic)) && OP_SYMBOL (IC_RESULT (uic))->onStack) - return; + return; #else - ifSymbolOnStack(IC_RESULT(uic)) + if (isOperandOnStack(IC_RESULT(uic))) return; #endif