ssa - alloca all variables at the very start

This commit is contained in:
Ginger Bill
2016-09-15 18:58:29 +01:00
parent b6cb4f4d14
commit 807256dea4
8 changed files with 240 additions and 107 deletions
+11 -9
View File
@@ -1,14 +1,16 @@
#import "fmt.odin" as fmt
// #import "game.odin" as game
#import "runtime.odin" as _
#import "punity.odin" as punity
test_proc :: proc() {
fmt.println("Hello?")
}
main :: proc() {
x := 0
// fmt.println("% % % %", "Hellope", true, 6.28, {4}int{1, 2, 3, 4})
fmt.println("%(%)", #file, #line)
// game.run()
init :: proc() {
}
step :: proc() {
}
punity.run(init, step)
}