aboutsummaryrefslogtreecommitdiff
path: root/examples/ex1.c
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-02-20 23:16:00 +0000
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2015-02-20 23:16:00 +0000
commitff3f9aa6ba4a2f56a3cb0c4532ce0460c834ba6d (patch)
treeb060b3d9fa1b1bdfde90251ec5ebcf37c5f16c72 /examples/ex1.c
parenta6c3ce6ec03516d850e6b987fcbe95aba192b76b (diff)
downloadtinycc-ff3f9aa6ba4a2f56a3cb0c4532ce0460c834ba6d.tar.gz
tinycc-ff3f9aa6ba4a2f56a3cb0c4532ce0460c834ba6d.tar.bz2
Fix handling of case_reg in switch statement.
The back end functions gen_op(comparison) and gtst() might allocate registers so case_reg should be left on the value stack while they are called and set again afterwards.
Diffstat (limited to 'examples/ex1.c')
0 files changed, 0 insertions, 0 deletions