From: kmh Date: Tue, 6 Mar 2001 09:16:45 +0000 (+0000) Subject: PCALL workaround X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b25bee81f2743faf46ae47153cf2969b503cfc46;p=fw%2Fsdcc PCALL workaround git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@671 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 066e0acd..1fd75b11 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -2765,7 +2765,7 @@ geniCodeCall (operand * left, ast * parms) geniCodeParms (parms, &stack, getSpec (operandType (left)), OP_SYMBOL (left)); /* now call : if symbol then pcall */ - if (IS_OP_POINTER (left)) + if (IS_OP_POINTER (left) || IS_ITEMP(left)) ic = newiCode (PCALL, left, NULL); else ic = newiCode (CALL, left, NULL);