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