From: johanknol Date: Sat, 19 Aug 2000 11:43:48 +0000 (+0000) Subject: Since Kevin decided to treat reentrant functions implicitly not IS_REGPARM-ed X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=120f97cd70b5f5206941ea97cca7aae44f157657;p=fw%2Fsdcc Since Kevin decided to treat reentrant functions implicitly not IS_REGPARM-ed in src/SDCCicode.c:geniCodeParms()-1.31 we shouldn't SPEC_REGPARM them either:) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@322 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index a60dc6b9..393e3c97 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1425,8 +1425,8 @@ void processFuncArgs (symbol *func, int ignoreName) not inhibited by command line option or #pragma */ if (!func->hasVargs && !options.noregparms && + !IS_RENT(func->etype) && (*port->reg_parm)(val->type)) { - SPEC_REGPARM(val->etype) = 1; }