Remove the single target-specific definition used in
"exec/translator.h" (TARGET_PAGE_MASK) by un-inlining
is_same_page().
Rename the method as translator_is_same_page() and
improve its documentation.
Use it in translator_use_goto_tb().
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Richard, I'll merge this myself once reviewed.
---
include/exec/translator.h | 15 +++++++--------
accel/tcg/translator.c | 7 ++++++-
target/i386/tcg/translate.c | 6 +++---
target/riscv/translate.c | 4 ++--
target/s390x/tcg/translate.c | 4 ++--
5 files changed, 20 insertions(+), 16 deletions(-)