target-arm/translate.c: Use arm_dc_feature() in ENABLE_ARCH_ macros
commit2b51668fca761f412f52a2675fcadb16521d9c4f
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Oct 2014 19:24:00 +0000 (28 19:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Nov 2014 00:39:16 +0000 (4 00:39 +0000)
treea6d239d25ca54d559df17d5bd2f30947c6c93afb
parent949ca9e479c381a63ddb257adca1a6f0c44d898e
target-arm/translate.c: Use arm_dc_feature() in ENABLE_ARCH_ macros

All the places where we use the ENABLE_ARCH_* and ARCH() macros have a
DisasContext* s, so switch them over to use arm_dc_feature() rather than
arm_feature() so we don't need to pass the CPUARMState* env around too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1414524244-20316-2-git-send-email-peter.maydell@linaro.org
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
target-arm/translate.c