From 48d029fe431f2c19e0ccc62a33de059c7725ee93 Mon Sep 17 00:00:00 2001 From: David Lazar Date: Fri, 9 Dec 2016 14:30:40 -0500 Subject: [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 TryBot-Result: Gobot Gobot Reviewed-by: Austin Clements --- src/cmd/internal/obj/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/internal/obj/util.go') 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{ -- cgit v1.3-5-g9baa