cl: embed struct support __llgo_va_list

This commit is contained in:
visualfc
2025-09-09 11:22:53 +08:00
parent 849b23079b
commit 89af430329
3 changed files with 113 additions and 0 deletions

View File

@@ -935,6 +935,8 @@ func (p *context) compileVArg(ret []llssa.Expr, b llssa.Builder, v ssa.Value) []
if v.Value == nil {
return ret
}
case *ssa.Parameter:
return ret
}
panic(fmt.Sprintf("compileVArg: unknown value - %T\n", v))
}