aboutsummaryrefslogtreecommitdiff
path: root/examples/ex5.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-11-21 21:09:44 +0800
committerThomas Preud'homme <robotux@celest.fr>2013-11-21 21:09:44 +0800
commit41ce391c86df135609af33658414d4d452c5beb3 (patch)
tree7378ca24ab7471f3be133104a931e222a4c66340 /examples/ex5.c
parent1b606d18840f8d0abe43ea80c0675c0639f84c51 (diff)
downloadtinycc-41ce391c86df135609af33658414d4d452c5beb3.tar.gz
tinycc-41ce391c86df135609af33658414d4d452c5beb3.tar.bz2
Fix register corruption at function call on ARM
Prior to this commit, params could use some registers that do not appear in the value stack. Therefore when generating function call, one of such register could be reused, leading to wrong parameter content. This happens when a structure is passed via core register, as only the first register would appear in the value stack.
Diffstat (limited to 'examples/ex5.c')
0 files changed, 0 insertions, 0 deletions