target-arm: Don't leak TCG temp for UNDEFs in Neon load/store space
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Mar 2011 16:26:52 +0000 (16:26 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 1 Apr 2011 20:33:47 +0000 (22:33 +0200)
commit315fa7f3d3d291556596ebc69908f08271565092
treea419e4ab49039d317ccffdbf5d8e423a9a1f9e69
parentd806a0381ddadf148e15b3b031342c1b29a7b1b5
target-arm: Don't leak TCG temp for UNDEFs in Neon load/store space

Move the allocation and freeing of the TCG temp used for the address for
Neon load/store instructions so that we don't allocate the temporary
until we've done enough decoding to know that the instruction is not
an UNDEF pattern; this avoids leaking the TCG temp in these cases.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c