diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-10-28 19:24:03 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-11-04 12:05:06 +0000 |
commit | 7dcc1f894d6c50b4f20ce3d2e9c1a90165bc85af (patch) | |
tree | 0ad00dac9de8731d51a3dbcef4fc8879e68d6c23 /softmmu_template.h | |
parent | b53d8923a599ef608a73748981a5b4a7355d11e5 (diff) |
target-arm/translate.c: Don't pass CPUARMState around in the decoder
Passing the CPUARMState around in the decoder is a recipe for
bugs where we accidentally generate code that depends on CPU
state which isn't reflected in the TB flags. Stop doing this
and instead use DisasContext as a way to pass around those
bits of CPU state which are known to be safe to use.
This commit simply removes initial "CPUARMState *env" parameters
from various function definitions, and removes the initial "env"
argument from the places where those functions are called.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1414524244-20316-5-git-send-email-peter.maydell@linaro.org
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Diffstat (limited to 'softmmu_template.h')
0 files changed, 0 insertions, 0 deletions