NewPackage: altSSA

This commit is contained in:
xushiwei
2024-06-15 12:10:08 +08:00
parent fa712aa3a0
commit e0a25b5098
5 changed files with 10 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ func GenFrom(fileOrPkg string) string {
ssaPkg.WriteTo(os.Stderr)
}
ret, err := cl.NewPackage(prog, ssaPkg, pkg.Syntax)
ret, err := cl.NewPackage(prog, ssaPkg, nil, pkg.Syntax)
check(err)
if prog.NeedPyInit { // call PyInit if needed