ssa: sliceOf arrayOf

This commit is contained in:
visualfc
2024-05-26 21:57:07 +08:00
parent 4a6f072361
commit 3328847e27
9 changed files with 547 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ import (
"os"
"strings"
"github.com/goplus/llgo/ssa"
"github.com/goplus/llgo/internal/llgen"
"github.com/goplus/mod"
)
@@ -29,6 +31,7 @@ func main() {
dir, _, err := mod.FindGoMod(".")
check(err)
ssa.Initialize(ssa.InitAll | ssa.InitNative)
llgen.Verbose = false
llgenDir(dir + "/cl/_testlibc")