ssa: rely on runtime thread defer TLS

This commit is contained in:
Li Jie
2025-10-15 16:31:43 +08:00
parent 30bde9f6b5
commit cb173f91d0
5 changed files with 9 additions and 37 deletions

View File

@@ -798,7 +798,6 @@ func (p Package) afterBuilder() Builder {
// AfterInit is called after the package is initialized (init all packages that depends on).
func (p Package) AfterInit(b Builder, ret BasicBlock) {
p.keyInit(deferKey)
doAfterb := p.afterb != nil
doPyLoadModSyms := p.pyHasModSyms()
if doAfterb || doPyLoadModSyms {