From 3e6464a967f5cf3ec03876630c676b1ad5dfdf97 Mon Sep 17 00:00:00 2001 From: sandeep Date: Sun, 25 Nov 2001 23:19:30 +0000 Subject: [PATCH] Donot reverse parameters for "builtin" functions git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1644 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCast.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SDCCast.c b/src/SDCCast.c index c631350c..05db77f8 100644 --- a/src/SDCCast.c +++ b/src/SDCCast.c @@ -3198,7 +3198,8 @@ decorateType (ast * tree) goto errorTreeReturn; } - if (options.stackAuto || IFFUNC_ISREENT (LTYPE (tree))) + if ((options.stackAuto || IFFUNC_ISREENT (LTYPE (tree))) && + !IFFUNC_ISBUILTIN(LTYPE(tree))) { //FUNC_ARGS(tree->left->ftype) = //reverseVal (FUNC_ARGS(tree->left->ftype)); -- 2.47.2