summaryrefslogtreecommitdiff
path: root/src/cmd/6g/gsubr.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-12 07:51:00 -0400
committerRuss Cox <rsc@golang.org>2014-09-12 07:51:00 -0400
commit6828828537d656ed40353e0ed32de5077cc53a16 (patch)
tree97d162ee2495e132e7d5a7ea5e9129578f49c19b /src/cmd/6g/gsubr.c
parent9ea01429fd02bdfe62a88d24de5fbb9d574a2f2e (diff)
downloadgo-6828828537d656ed40353e0ed32de5077cc53a16.tar.gz
cmd/cc, cmd/gc: stop generating 'argsize' PCDATA
The argsize PCDATA was specifying the number of bytes passed to a function call, so that if the function did not specify its argument count, the garbage collector could use the call site information to scan those bytes conservatively. We don't do that anymore, so stop generating the information. LGTM=khr R=khr CC=golang-codereviews https://codereview.appspot.com/139530043
Diffstat (limited to 'src/cmd/6g/gsubr.c')
-rw-r--r--src/cmd/6g/gsubr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cmd/6g/gsubr.c b/src/cmd/6g/gsubr.c
index e1ed3b3b8..5bd924660 100644
--- a/src/cmd/6g/gsubr.c
+++ b/src/cmd/6g/gsubr.c
@@ -215,16 +215,6 @@ gtrack(Sym *s)
}
void
-gargsize(vlong size)
-{
- Node n1, n2;
-
- nodconst(&n1, types[TINT32], PCDATA_ArgSize);
- nodconst(&n2, types[TINT32], size);
- gins(APCDATA, &n1, &n2);
-}
-
-void
ggloblsym(Sym *s, int32 width, int8 flags)
{
Prog *p;