accel/tcg: rename tb_lookup__cpu_state and hoist state extraction
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 24 Feb 2021 16:58:07 +0000 (16:58 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 6 Mar 2021 19:50:43 +0000 (11:50 -0800)
commit6f04cb1c8f481cf02fbc4657fefba985a1fe725f
tree48f4f0111b496e398b81d8fbd07d9a5131fa7f4e
parent9e9acb7b348570f8a9ed62fcbad299424fe61501
accel/tcg: rename tb_lookup__cpu_state and hoist state extraction

Having a function return either and valid TB and some system state
seems excessive. It will make the subsequent re-factoring easier if we
lookup the current state where we are.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210224165811.11567-2-alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/tcg-runtime.c
include/exec/tb-lookup.h