aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/43_void_param.expect
diff options
context:
space:
mode:
authorEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2016-10-10 20:15:20 +0100
committerEdmund Grimley Evans <Edmund.Grimley.Evans@gmail.com>2016-10-10 20:15:20 +0100
commit94d8d12c26de54d9ab14c34820967861352773ab (patch)
tree6debfa9fb0ff14e0e9cc9c642cfa4d56c6021124 /tests/tests2/43_void_param.expect
parent5a0ca53a4a87252ad4fdb442ec3daaa6b00ec2e2 (diff)
downloadtinycc-94d8d12c26de54d9ab14c34820967861352773ab.tar.gz
tinycc-94d8d12c26de54d9ab14c34820967861352773ab.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. This bug fix was first applied as ff3f9aa (20 Feb 2015), but the fix was reverted by fc0fc6a (21 Sep 2016, "switch: collect case ranges first, then generate code"). Here the fix is updated for the new code.
Diffstat (limited to 'tests/tests2/43_void_param.expect')
0 files changed, 0 insertions, 0 deletions