Skip to content

Commit

Permalink
remove redundant function alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mauri870 committed Jul 22, 2023
1 parent a812289 commit edf42e8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/cmd/internal/obj/x86/asm6.go
Original file line number Diff line number Diff line change
Expand Up @@ -2146,11 +2146,6 @@ func span6(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
fillnop(s.P[c:], int(v))
}

// Update the current text symbol alignment value.
if int32(v) > s.Func().Align {
s.Func().Align = int32(v)
}

c += int32(v)
pPrev = p
continue
Expand Down

0 comments on commit edf42e8

Please sign in to comment.