diff options
author | tomsmeding <tom.smeding@gmail.com> | 2018-01-24 23:00:31 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2018-01-24 23:00:31 +0100 |
commit | 1fc88ae00940e04ee76cbdf13a5df429faf72451 (patch) | |
tree | 59692bd2354819ee8b7fea2253fcefacdf1ecce9 /test | |
parent | bd7ef7a572f3faa58a550baca46a1b4f95e9b95d (diff) |
Also do the BP dance if no spills occur
This is because arguments are annoyingly generated relative to
BP, which fails completely if the stack frame is not set up nicely.
TODO do stuff relative to SP so BP is just a general purpose register.
Diffstat (limited to 'test')
-rw-r--r-- | test/t2.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ void main() { mov b, @dir hwi 1 // legs } + holo_dec(dir); dir = dir + 1; if (dir == 4) dir = 0; } |