cmd/internal/obj: fix build breakage from making From3 a pointer

Change-Id: I55a7f455ebbd6b1bd6912aae82c0fcff6f43387c
Reviewed-on: https://go-review.googlesource.com/10512
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Brad Fitzpatrick 2015-05-29 10:00:45 -07:00
parent 511faf696a
commit c53342e40a
6 changed files with 19 additions and 9 deletions

View file

@ -226,7 +226,7 @@ func Writeobjdirect(ctxt *Link, b *Biobuf) {
etext.Next = s
}
etext = s
flag = int(p.From3.Offset)
flag = int(p.From3Offset())
if flag&DUPOK != 0 {
s.Dupok = 1
}