mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 07:31:26 -07:00
ssa - alloca all variables at the very start
This commit is contained in:
+11
-9
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user