mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/internal/obj: update callers to Linkline{fmt,hist} and remove
Does the TODOs added by https://golang.org/cl/7623. Passes rsc.io/toolstash/buildall. Change-Id: I23913a8f03834640e9795d48318febb3f88c10f9 Reviewed-on: https://go-review.googlesource.com/9160 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
82e1651a24
commit
1467776b17
10 changed files with 44 additions and 76 deletions
|
|
@ -13,7 +13,6 @@ import (
|
|||
"text/scanner"
|
||||
|
||||
"cmd/asm/internal/flags"
|
||||
"cmd/internal/obj"
|
||||
)
|
||||
|
||||
// Input is the main input: a stack of readers and some macro definitions.
|
||||
|
|
@ -436,7 +435,7 @@ func (in *Input) line() {
|
|||
if tok != '\n' {
|
||||
in.Error("unexpected token at end of #line: ", tok)
|
||||
}
|
||||
obj.Linklinehist(linkCtxt, histLine, file, line)
|
||||
linkCtxt.LineHist.Update(histLine, file, line)
|
||||
in.Stack.SetPos(line, file)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue