ssa: compile go string constant without alloca

This commit is contained in:
Li Jie
2024-11-24 15:19:16 +08:00
parent 17832fe18c
commit 43c1bc8d5f
73 changed files with 9742 additions and 21877 deletions

12
cl/_testgo/multiret/in.go Normal file
View File

@@ -0,0 +1,12 @@
package main
var a int = 1
func foo(f float64) (int, float64) {
return a, f
}
func main() {
i, f := foo(2.0)
println(i, f)
}