Improved code generation

This commit is contained in:
2024-07-05 16:31:33 +02:00
parent 3e92c83c0d
commit d771708693
4 changed files with 12 additions and 41 deletions

11
tests/programs/return.q Normal file
View File

@ -0,0 +1,11 @@
main() {
syscall(60, f(2))
}
f(x) {
return x + 1 + g(x)
}
g(x) {
return x + 1
}