From d0aca5759e22dc00c06474c9123fb21129f6272b Mon Sep 17 00:00:00 2001 From: LE Manh Cuong Date: Tue, 21 May 2019 21:18:23 +0700 Subject: [PATCH] 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 --- src/cmd/compile/internal/gc/ssa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0