target/mips: Declare mips_env_set_pc() inlined in "internal.h"
commit533fc64feb96b6aafdb0d604cd1cd97877451878
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 18 Apr 2021 21:59:48 +0000 (18 23:59 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:34 +0000 (2 16:49 +0200)
tree29719b38dc37c4e64a60f3ad01b72bf54b4b01a1
parent4d169b9cce25bcef691d0c50a6c7d0d6350003ae
target/mips: Declare mips_env_set_pc() inlined in "internal.h"

Rename set_pc() as mips_env_set_pc(), declare it inlined
and use it in cpu.c and op_helper.c.

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210428170410.479308-9-f4bug@amsat.org>
target/mips/cpu.c
target/mips/internal.h
target/mips/op_helper.c