[dev.inline] cmd/compile: rename various fields from Lineno to Pos

Various minor adjustments.

Change-Id: Iedfb97989f7bedaa3e9e8993b167e05f162434a7
Reviewed-on: https://go-review.googlesource.com/34136
Reviewed-by: David Lazar <lazard@golang.org>
This commit is contained in:
Robert Griesemer 2016-12-07 17:40:46 -08:00
parent 82d0caea2c
commit eab3707d6d
28 changed files with 155 additions and 155 deletions

View file

@ -114,7 +114,7 @@ func opregreg(op obj.As, dest, src int16) *obj.Prog {
}
func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {
s.SetLineno(v.Line)
s.SetPos(v.Line)
if gc.Thearch.Use387 {
if ssaGenValue387(s, v) {
@ -825,7 +825,7 @@ var nefJumps = [2][2]gc.FloatingEQNEJump{
}
func ssaGenBlock(s *gc.SSAGenState, b, next *ssa.Block) {
s.SetLineno(b.Line)
s.SetPos(b.Line)
if gc.Thearch.Use387 {
// Empty the 387's FP stack before the block ends.