}
if !buildcfg.Experiment.RegabiWrappers {
- // We'll generate ABI aliases instead of
- // wrappers once we have LSyms in InitLSym.
continue
}
// the funcsym for either the defining
// function or its wrapper as appropriate.
//
- // If we're using ABI aliases instead of
- // wrappers, we only InitLSym for the defining
- // ABI of a function, so we make the funcsym
- // when we see that.
+ // If we're not using ABI wrappers, we only
+ // InitLSym for the defining ABI of a function,
+ // so we make the funcsym when we see that.
staticdata.NeedFuncSym(f)
}
}
// entry points, so it doesn't make sense to create a
// funcsym for other ABIs.
//
- // (If we're using ABI aliases, it doesn't matter.)
+ // (If we're not using ABI wrappers, it doesn't matter.)
base.Fatalf("expected ABIInternal: %v has %v", fn.Nname, fn.ABI)
}
if ir.IsBlank(fn.Nname) {