cmd/compile: remove unused Label fields

Updates #16357.

Change-Id: I37f04d83134b5e1e7f6ba44eb9a566758ef594d3
Reviewed-on: https://go-review.googlesource.com/29350
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Matthew Dempsky 2016-09-16 11:26:41 -07:00
parent 833ed7c431
commit 9f447c20ef
3 changed files with 0 additions and 23 deletions

View file

@ -8,9 +8,6 @@ package gc
import "fmt"
// TODO: labellist should become part of a "compilation state" for functions.
var labellist []*Label
func Sysfunc(name string) *Node {
n := newname(Pkglookup(name, Runtimepkg))
n.Class = PFUNC
@ -182,13 +179,6 @@ func moveToHeap(n *Node) {
}
}
func clearlabels() {
for _, l := range labellist {
l.Sym.Label = nil
}
labellist = labellist[:0]
}
// make a new Node off the books
func tempname(nn *Node, t *Type) {
if Curfn == nil {