summaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/gc/go.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2019-10-25 16:43:08 -0400
committerCherry Zhang <cherryyz@google.com>2019-10-28 17:28:12 +0000
commit503bccb5d91998e22e32c6f771262ed33b72ff8b (patch)
treebd94db579734562b328d87d02f0c7e0282a67e13 /src/cmd/compile/internal/gc/go.go
parent6afabe2768830940a9b02d45911563e51d287224 (diff)
downloadgo-git-503bccb5d91998e22e32c6f771262ed33b72ff8b.tar.gz
cmd/compile: delete ZeroAuto
ZeroAuto was used with the ambiguously live logic. The ambiguously live logic is removed as we switched to stack objects. It is now never called. Remove. Change-Id: If4cdd7fed5297f8ab591cc392a76c80f57820856 Reviewed-on: https://go-review.googlesource.com/c/go/+/203538 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc/go.go')
-rw-r--r--src/cmd/compile/internal/gc/go.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmd/compile/internal/gc/go.go b/src/cmd/compile/internal/gc/go.go
index d05f754f30..c14fb4d3fa 100644
--- a/src/cmd/compile/internal/gc/go.go
+++ b/src/cmd/compile/internal/gc/go.go
@@ -270,11 +270,6 @@ type Arch struct {
// SSAGenBlock emits end-of-block Progs. SSAGenValue should be called
// for all values in the block before SSAGenBlock.
SSAGenBlock func(s *SSAGenState, b, next *ssa.Block)
-
- // ZeroAuto emits code to zero the given auto stack variable.
- // ZeroAuto must not use any non-temporary registers.
- // ZeroAuto will only be called for variables which contain a pointer.
- ZeroAuto func(*Progs, *Node)
}
var thearch Arch