From: sandeep Date: Wed, 14 Nov 2001 19:08:12 +0000 (+0000) Subject: Fixed another AOP_STR & ruonly problem X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d66825dcdd4d0c1d582da847202274cd59c38ea5;p=fw%2Fsdcc Fixed another AOP_STR & ruonly problem git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1591 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/gen.c b/src/ds390/gen.c index 2e25ea96..b9638871 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -3085,7 +3085,8 @@ genRet (iCode * ic) /* we have something to return then move the return value into place */ - aopOp (IC_LEFT (ic), ic, FALSE, TRUE); + aopOp (IC_LEFT (ic), ic, FALSE, + (IS_SYMOP(IC_LEFT(ic)) && OP_SYMBOL(IC_LEFT(ic))->ruonly ? FALSE :TRUE)); size = AOP_SIZE (IC_LEFT (ic)); _startLazyDPSEvaluation ();