]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix doc typo in ssa.go
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>
Tue, 21 May 2019 14:18:23 +0000 (21:18 +0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 May 2019 14:19:32 +0000 (14:19 +0000)
Change-Id: Ie299a5eca6f6a7c5a37c00ff0de7ce322450375b
Reviewed-on: https://go-review.googlesource.com/c/go/+/178123
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/ssa.go

index cafff01ddcc7b353e3d1262f8d96b1d3410bf5d4..f9ccf84f720e5ecc6a21a7128f1afa07bab9ef58 100644 (file)
@@ -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