cmd/compile: use Node.Int more

Generated by eg.

Passes toolstash -cmp.

Change-Id: I7516c211ca9aacf824f74894671dc62d31763b01
Reviewed-on: https://go-review.googlesource.com/21422
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2016-03-31 14:54:46 -07:00
parent 3a0783c504
commit e504055e78
8 changed files with 46 additions and 46 deletions

View file

@ -438,7 +438,7 @@ func Naddr(a *obj.Addr, n *Node) {
case CTINT, CTRUNE:
a.Sym = nil
a.Type = obj.TYPE_CONST
a.Offset = n.Val().U.(*Mpint).Int64()
a.Offset = n.Int()
case CTSTR:
datagostring(n.Val().U.(string), a)