diff options
| author | David Lazar <lazard@golang.org> | 2016-12-09 14:30:40 -0500 |
|---|---|---|
| committer | David Lazar <lazard@golang.org> | 2016-12-09 20:35:56 +0000 |
| commit | 48d029fe431f2c19e0ccc62a33de059c7725ee93 (patch) | |
| tree | 408921b66026a58873c76c90d90093ff4a7fad42 /src/cmd/internal/obj/util.go | |
| parent | ad4efedc6ce317aa9eb1208950daee4c31b023cc (diff) | |
| download | go-48d029fe431f2c19e0ccc62a33de059c7725ee93.tar.xz | |
[dev.inline] cmd/internal/obj: rename Prog.Lineno to Prog.Pos
Change-Id: I7585d85907869f5a286b36936dfd035f1e8e9906
Reviewed-on: https://go-review.googlesource.com/34197
Run-TryBot: David Lazar <lazard@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/cmd/internal/obj/util.go')
| -rw-r--r-- | src/cmd/internal/obj/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/obj/util.go b/src/cmd/internal/obj/util.go index 472e13bc44..ccf4f4b5f6 100644 --- a/src/cmd/internal/obj/util.go +++ b/src/cmd/internal/obj/util.go @@ -59,7 +59,7 @@ func Getgoextlinkenabled() string { } func (p *Prog) Line() string { - return p.Ctxt.LineHist.LineString(int(p.Lineno.Line())) + return p.Ctxt.LineHist.LineString(int(p.Pos.Line())) } var armCondCode = []string{ |
