mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
tcg: Remove TCG_CALL_PLUGIN
Since we no longer emit plugin helpers during the initial code translation phase, we don't need to specially mark plugin helpers. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5f2a5a5b34
commit
b0748975b8
3 changed files with 5 additions and 11 deletions
|
@ -2269,9 +2269,7 @@ static void tcg_gen_callN(void *func, TCGHelperInfo *info,
|
|||
|
||||
#ifdef CONFIG_PLUGIN
|
||||
/* Flag helpers that may affect guest state */
|
||||
if (tcg_ctx->plugin_insn &&
|
||||
!(info->flags & TCG_CALL_PLUGIN) &&
|
||||
!(info->flags & TCG_CALL_NO_SIDE_EFFECTS)) {
|
||||
if (tcg_ctx->plugin_insn && !(info->flags & TCG_CALL_NO_SIDE_EFFECTS)) {
|
||||
tcg_ctx->plugin_insn->calls_helpers = true;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue