tcg: Always define tb_target_set_jmp_target
Install empty versions for !TCG_TARGET_HAS_direct_jump hosts. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0012e3516e
commit
90c0fee3a2
|
@ -1964,6 +1964,12 @@ static void tcg_out_goto_tb(TCGContext *s, int which)
|
||||||
set_jmp_reset_offset(s, which);
|
set_jmp_reset_offset(s, which);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tb_target_set_jmp_target(const TranslationBlock *tb, int n,
|
||||||
|
uintptr_t jmp_rx, uintptr_t jmp_rw)
|
||||||
|
{
|
||||||
|
/* Always indirect, nothing to do */
|
||||||
|
}
|
||||||
|
|
||||||
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
||||||
const TCGArg args[TCG_MAX_OP_ARGS],
|
const TCGArg args[TCG_MAX_OP_ARGS],
|
||||||
const int const_args[TCG_MAX_OP_ARGS])
|
const int const_args[TCG_MAX_OP_ARGS])
|
||||||
|
|
|
@ -1977,6 +1977,12 @@ static void tcg_out_goto_tb(TCGContext *s, int which)
|
||||||
set_jmp_reset_offset(s, which);
|
set_jmp_reset_offset(s, which);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tb_target_set_jmp_target(const TranslationBlock *tb, int n,
|
||||||
|
uintptr_t jmp_rx, uintptr_t jmp_rw)
|
||||||
|
{
|
||||||
|
/* Always indirect, nothing to do */
|
||||||
|
}
|
||||||
|
|
||||||
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
||||||
const TCGArg args[TCG_MAX_OP_ARGS],
|
const TCGArg args[TCG_MAX_OP_ARGS],
|
||||||
const int const_args[TCG_MAX_OP_ARGS])
|
const int const_args[TCG_MAX_OP_ARGS])
|
||||||
|
|
|
@ -1310,6 +1310,12 @@ static void tcg_out_goto_tb(TCGContext *s, int which)
|
||||||
set_jmp_reset_offset(s, which);
|
set_jmp_reset_offset(s, which);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tb_target_set_jmp_target(const TranslationBlock *tb, int n,
|
||||||
|
uintptr_t jmp_rx, uintptr_t jmp_rw)
|
||||||
|
{
|
||||||
|
/* Always indirect, nothing to do */
|
||||||
|
}
|
||||||
|
|
||||||
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
||||||
const TCGArg args[TCG_MAX_OP_ARGS],
|
const TCGArg args[TCG_MAX_OP_ARGS],
|
||||||
const int const_args[TCG_MAX_OP_ARGS])
|
const int const_args[TCG_MAX_OP_ARGS])
|
||||||
|
|
|
@ -603,6 +603,12 @@ static void tcg_out_goto_tb(TCGContext *s, int which)
|
||||||
set_jmp_reset_offset(s, which);
|
set_jmp_reset_offset(s, which);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tb_target_set_jmp_target(const TranslationBlock *tb, int n,
|
||||||
|
uintptr_t jmp_rx, uintptr_t jmp_rw)
|
||||||
|
{
|
||||||
|
/* Always indirect, nothing to do */
|
||||||
|
}
|
||||||
|
|
||||||
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
static void tcg_out_op(TCGContext *s, TCGOpcode opc,
|
||||||
const TCGArg args[TCG_MAX_OP_ARGS],
|
const TCGArg args[TCG_MAX_OP_ARGS],
|
||||||
const int const_args[TCG_MAX_OP_ARGS])
|
const int const_args[TCG_MAX_OP_ARGS])
|
||||||
|
|
Loading…
Reference in New Issue