]> Cypherpunks repositories - gostls13.git/commit
cmd/cc, cmd/gc: stop generating 'argsize' PCDATA
authorRuss Cox <rsc@golang.org>
Fri, 12 Sep 2014 11:51:00 +0000 (07:51 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 12 Sep 2014 11:51:00 +0000 (07:51 -0400)
commit68c1c6afa002074219792689fef714d095f40fd6
tree290e3e92e018a1aa89fe0a185be303d791067509
parente844f53a0198e81b359d198fc0dcf15cf01d6ed1
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://golang.org/cl/139530043
13 files changed:
src/cmd/5c/cgen.c
src/cmd/5g/gg.h
src/cmd/5g/ggen.c
src/cmd/5g/gsubr.c
src/cmd/6c/cgen.c
src/cmd/6g/gg.h
src/cmd/6g/ggen.c
src/cmd/6g/gsubr.c
src/cmd/8c/cgen.c
src/cmd/8g/gg.h
src/cmd/8g/ggen.c
src/cmd/8g/gsubr.c
src/runtime/funcdata.h