mirror of
https://github.com/golang/go.git
synced 2024-09-22 19:08:30 +00:00
cmd/compile/internal/gc: remove unparen
CL 197120 removed the last use of it. Change-Id: I5fe4f57a47acc712208d831e72cd79205a534c28 Reviewed-on: https://go-review.googlesource.com/c/go/+/252697 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
51c0bdc6d1
commit
be9ed03f1a
@ -1641,10 +1641,3 @@ func mkname(sym *types.Sym) *Node {
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func unparen(x *Node) *Node {
|
||||
for x.Op == OPAREN {
|
||||
x = x.Left
|
||||
}
|
||||
return x
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user