mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.inline] cmd/internal/obj: remove vestiges of LineHist - not used anymore
Change-Id: I9d3fcdd5b002953fa9d2f001bf7a834073443794 Reviewed-on: https://go-review.googlesource.com/34722 TryBot-Result: Gobot Gobot <gobot@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
472c792e0a
commit
33c036867f
5 changed files with 7 additions and 250 deletions
|
|
@ -180,14 +180,6 @@ func Fatalf(fmt_ string, args ...interface{}) {
|
|||
errorexit()
|
||||
}
|
||||
|
||||
// TODO(gri) rename this function
|
||||
func linehistpragma(file string) {
|
||||
// if Debug['i'] != 0 {
|
||||
// fmt.Printf("pragma %s at line %v\n", file, linestr(lexlineno))
|
||||
// }
|
||||
Ctxt.AddImport(file)
|
||||
}
|
||||
|
||||
func setlineno(n *Node) src.XPos {
|
||||
lno := lineno
|
||||
if n != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue