target-arm: Translate with Thumb state from TB flags, not CPUState
commit7204ab889f1cf5b09026af22185525edbee07a97
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Jan 2011 19:39:19 +0000 (14 20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:19 +0000 (14 20:39 +0100)
treec052c8ab2c1a514a8d2adbf05664e02aa06e48c7
parent69d1fc221a0bcd6a9a17e79ab933ab7525f15973
target-arm: Translate with Thumb state from TB flags, not CPUState

The Thumb/ARM state for the TB being translated should come from
the TB flags, not the CPUState.

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