cl: compilePhis; llgo/ssa: phi.AddIncoming

This commit is contained in:
xushiwei
2024-05-02 11:27:02 +08:00
parent fbb1f89ab3
commit 40855c2d2a
5 changed files with 91 additions and 36 deletions

View File

@@ -13,5 +13,5 @@ func concat(args ...string) (ret string) {
func main() {
result := concat("Hello", " ", "World")
c.Fprintf(c.Stderr, c.Str("Hello %s\n"), c.AllocaCStr(result))
c.Fprintf(c.Stderr, c.Str("Hi, %s\n"), c.AllocaCStr(result))
}