]> Cypherpunks repositories - gostls13.git/commit
undo CL 6938073 / 1542912cf09d
authorRuss Cox <rsc@golang.org>
Sat, 22 Dec 2012 16:18:04 +0000 (11:18 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 22 Dec 2012 16:18:04 +0000 (11:18 -0500)
commite431398e0947c455e1c34fdd7c0571d17a1365d0
tree23a37c471f07763ff72808298bd79f756845ffdb
parent54b7ccd514f6a689347c8d1f876bec90613f28f8
undo CL 6938073 / 1542912cf09d

remove zerostack compiler experiment; will do at link time instead

««« original CL description
cmd/gc: add GOEXPERIMENT=zerostack to clear stack on function entry

This is expensive but it might be useful in cases where
people are suffering from false positives during garbage
collection and are willing to trade the CPU time for getting
rid of the false positives.

On the other hand it only eliminates false positives caused
by other function calls, not false positives caused by dead
temporaries stored in the current function call.

The 5g/6g/8g changes were pulled out of the history, from
the last time we needed to do this (to work around a goto bug).
The code in go.h, lex.c, pgen.c is new but tiny.

R=ken2
CC=golang-dev
https://golang.org/cl/6938073
»»»

R=ken2
CC=golang-dev
https://golang.org/cl/7002051
src/cmd/5g/gsubr.c
src/cmd/6g/gsubr.c
src/cmd/8g/gsubr.c
src/cmd/gc/go.h
src/cmd/gc/lex.c
src/cmd/gc/pgen.c