mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove more superfluous int(lineno) conversions
Change-Id: Ia3e5d62b9d38a6c356baec8eb88b2bdabff5820f Reviewed-on: https://go-review.googlesource.com/20150 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
8a83d36b8e
commit
c41608f4ac
13 changed files with 58 additions and 62 deletions
|
|
@ -246,9 +246,9 @@ func initreorder(l *NodeList, out *[]*Node) {
|
|||
func initfix(l *NodeList) []*Node {
|
||||
var lout []*Node
|
||||
initplans = make(map[*Node]*InitPlan)
|
||||
lno := int(lineno)
|
||||
lno := lineno
|
||||
initreorder(l, &lout)
|
||||
lineno = int32(lno)
|
||||
lineno = lno
|
||||
initplans = nil
|
||||
return lout
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue