]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel: Prefer cached CpuClass over CPU_GET_CLASS() macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 11:11:09 +0000 (12:11 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 16:00:47 +0000 (17:00 +0100)
commite27fa95fb9d1dd4668e8b1411b47df14253e47fa
tree20bb129647131169dd62e7f15530ca79cd8537bb
parent30e76638eb35ffe88e95cca2b5af952c14dc336d
accel: Prefer cached CpuClass over CPU_GET_CLASS() macro

CpuState caches its CPUClass since commit 6fbdff87062
("cpu: cache CPUClass in CPUState for hot code paths"),
use it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250122093028.52416-6-philmd@linaro.org>
accel/accel-target.c
accel/tcg/tcg-accel-ops.c
accel/tcg/translate-all.c
accel/tcg/watchpoint.c