cmd/internal/obj: remove invalid code in genFuncInfoSyms

This commit is contained in:
xiongwy12 2022-06-19 13:35:28 +08:00
parent 9068c6844d
commit 7bb053bdd8
1 changed files with 0 additions and 2 deletions

View File

@ -698,7 +698,6 @@ func nAuxSym(s *LSym) int {
// generate symbols for FuncInfo.
func genFuncInfoSyms(ctxt *Link) {
infosyms := make([]*LSym, 0, len(ctxt.Text))
hashedsyms := make([]*LSym, 0, 4*len(ctxt.Text))
var b bytes.Buffer
symidx := int32(len(ctxt.defs))
for _, s := range ctxt.Text {
@ -760,7 +759,6 @@ func genFuncInfoSyms(ctxt *Link) {
}
}
ctxt.defs = append(ctxt.defs, infosyms...)
ctxt.hasheddefs = append(ctxt.hasheddefs, hashedsyms...)
}
func writeAuxSymDebug(ctxt *Link, par *LSym, aux *LSym) {