From: LE Manh Cuong Date: Tue, 21 May 2019 14:18:23 +0000 (+0700) Subject: cmd/compile: fix doc typo in ssa.go X-Git-Tag: go1.13beta1~240 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d0aca5759e22dc00c06474c9123fb21129f6272b;p=gostls13.git cmd/compile: fix doc typo in ssa.go Change-Id: Ie299a5eca6f6a7c5a37c00ff0de7ce322450375b Reviewed-on: https://go-review.googlesource.com/c/go/+/178123 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/compile/internal/gc/ssa.go b/src/cmd/compile/internal/gc/ssa.go index cafff01ddc..f9ccf84f72 100644 --- a/src/cmd/compile/internal/gc/ssa.go +++ b/src/cmd/compile/internal/gc/ssa.go @@ -5123,7 +5123,7 @@ func (s *SSAGenState) Br(op obj.As, target *ssa.Block) *obj.Prog { return p } -// DebugFriendlySetPos adjusts Pos.IsStmt subject to heuristics +// DebugFriendlySetPosFrom adjusts Pos.IsStmt subject to heuristics // that reduce "jumpy" line number churn when debugging. // Spill/fill/copy instructions from the register allocator, // phi functions, and instructions with a no-pos position