public
/
v7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac9a2f
)
Reinstate jsr pc,*#label (not sure why this is done)
master
author
Nick Downing
<nick@ndcode.org>
Fri, 12 Aug 2022 07:16:03 +0000
(17:16 +1000)
committer
Nick Downing
<nick@ndcode.org>
Fri, 12 Aug 2022 07:16:13 +0000
(17:16 +1000)
usr/src/cmd/c/c10.c
patch
|
blob
|
history
diff --git
a/usr/src/cmd/c/c10.c
b/usr/src/cmd/c/c10.c
index
1f6a155
..
5a09158
100644
(file)
--- a/
usr/src/cmd/c/c10.c
+++ b/
usr/src/cmd/c/c10.c
@@
-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);