]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Perform override check early in add_cpreg_to_hashtable
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 1 May 2022 05:49:59 +0000 (22:49 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 May 2022 08:35:52 +0000 (09:35 +0100)
commitdc44545b0df696fd89e7a9634094cbf33ae9006c
treec662bad40a28d21a3bb8a8baa838cc45e9fbce4c
parent10748a965279aaaccf98ddeb253653421735e916
target/arm: Perform override check early in add_cpreg_to_hashtable

Perform the override check early, so that it is still done
even when we decide to discard an unreachable cpreg.

Use assert not printf+abort.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220501055028.646596-18-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c