]> git.proxmox.com Git - qemu.git/commit
s390x: free tmp explicitly in every opcode for disas_a5()
authorAlexander Graf <agraf@suse.de>
Sat, 28 May 2011 00:12:33 +0000 (02:12 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 3 Jun 2011 11:34:02 +0000 (13:34 +0200)
commit87b0b70513fb554ff20374707d7e90b0bc6ffb2d
treeb7c12a3b8aaabac52fbd93411733dbd4092b6190
parent2497a67fed5d4844ec0ea053d27b538712245dc2
s390x: free tmp explicitly in every opcode for disas_a5()

The disas_a5() function provided a TCG tmp variable which was populated
by the respective opcode implementations, but freed at the end of the
function in generic code.

That makes it really hard for code review, so let's move the freeing
to the same scope as the actual allocation.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/translate.c