mirror of
https://github.com/golang/go.git
synced 2025-11-11 06:01:06 +00:00
cmd/compile/internal/gc: eliminate bstdout
Just use Ctxt.Bso instead. Change-Id: I68f1639f0b4c238ae5499ef49e78a5d734417979 Reviewed-on: https://go-review.googlesource.com/29114 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
ae4aac00bb
commit
2b5c18c99e
3 changed files with 2 additions and 6 deletions
|
|
@ -107,8 +107,7 @@ func Main() {
|
|||
|
||||
Ctxt = obj.Linknew(Thearch.LinkArch)
|
||||
Ctxt.DiagFunc = Yyerror
|
||||
bstdout = bufio.NewWriter(os.Stdout)
|
||||
Ctxt.Bso = bstdout
|
||||
Ctxt.Bso = bufio.NewWriter(os.Stdout)
|
||||
|
||||
localpkg = mkpkg("")
|
||||
localpkg.Prefix = "\"\""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue