]> git.gag.com Git - fw/sdcc/commitdiff
Donot reverse parameters for "builtin" functions
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Nov 2001 23:19:30 +0000 (23:19 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Nov 2001 23:19:30 +0000 (23:19 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1644 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCast.c

index c631350c72defa5c8b0bf8dd0ff4a0b7a3d06b46..05db77f88062641f72ebedacfe9bbcdbb688d2cd 100644 (file)
@@ -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));