mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[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>
This commit is contained in:
parent
ad4efedc6c
commit
48d029fe43
16 changed files with 80 additions and 80 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue