target/arm: Replace offset with pc in gen_exception_internal_insn
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Aug 2019 08:46:44 +0000 (09:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:50 +0000 (14:02 +0100)
commitaee828e7541a5895669ade3a4b6978382b6b094a
tree78332d816517a2b7ae2996b96e437352dc48148d
parenta767fac802f6fa6220330ea6f408dde2fb41db22
target/arm: Replace offset with pc in gen_exception_internal_insn

The offset is variable depending on the instruction set.
Passing in the actual value is clearer in intent.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190807045335.1361-9-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate.c