Reinstate jsr pc,*#label (not sure why this is done) master
authorNick Downing <nick@ndcode.org>
Fri, 12 Aug 2022 07:16:03 +0000 (17:16 +1000)
committerNick Downing <nick@ndcode.org>
Fri, 12 Aug 2022 07:16:13 +0000 (17:16 +1000)
usr/src/cmd/c/c10.c

index 1f6a155..5a09158 100644 (file)
@@ -289,10 +289,8 @@ again:
                }
                tree = atree;
                tree->op = CALL2;
-#if 0 /* seems to generate "jsr pc,*#label" instead of "jsr pc,label" */
                if (modf && tree->tr1->op==NAME && tree->tr1->class==EXTERN)
                        tree->op = CALL1;
-#endif
                if (cexpr(tree, regtab, reg)<0)
                        error("compiler botch: call");
                popstk(r);