mirror of
https://github.com/golang/go
synced 2024-11-27 04:01:19 -07:00
cmd/compile/internal/gc: remove an unused method
Change-Id: Ib496d1e9a47d2cf69509ffd0009038b7d34a0149
GitHub-Last-Rev: 5b5589dd03
GitHub-Pull-Request: golang/go#42060
Reviewed-on: https://go-review.googlesource.com/c/go/+/263618
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
58eadc232e
commit
178b0f59ff
@ -1438,11 +1438,6 @@ func (p *noder) mkname(name *syntax.Name) *Node {
|
|||||||
return mkname(p.name(name))
|
return mkname(p.name(name))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *noder) newname(name *syntax.Name) *Node {
|
|
||||||
// TODO(mdempsky): Set line number?
|
|
||||||
return newname(p.name(name))
|
|
||||||
}
|
|
||||||
|
|
||||||
func (p *noder) wrapname(n syntax.Node, x *Node) *Node {
|
func (p *noder) wrapname(n syntax.Node, x *Node) *Node {
|
||||||
// These nodes do not carry line numbers.
|
// These nodes do not carry line numbers.
|
||||||
// Introduce a wrapper node to give them the correct line.
|
// Introduce a wrapper node to give them the correct line.
|
||||||
|
Loading…
Reference in New Issue
Block a user