TODO: noreturn

This commit is contained in:
xushiwei
2024-06-12 17:38:29 +08:00
parent b787de0163
commit d500902eff
2 changed files with 3 additions and 2 deletions

View File

@@ -49,7 +49,8 @@ func Rethrow(link *Defer) {
ptr := excepKey.Get()
TracePanic(*(*Eface)(ptr))
c.Free(ptr)
c.Unreachable()
// TODO(xsw): noreturn
// c.Unreachable()
} else {
c.Siglongjmp(link.Addr, 1)
}