diff mbox series

[PULL,10/31] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb

Message ID 20230318114644.1340899-11-alex.bennee@linaro.org
State Accepted
Commit 10588491c1fbf3458b88fb632c8292f7989516d0
Headers show
Series [PULL,01/31] tests/avocado: update AArch64 tests to Alpine 3.17.2 | expand

Commit Message

Alex Bennée March 18, 2023, 11:46 a.m. UTC
From: Richard Henderson <richard.henderson@linaro.org>

Now that we call qemu_plugin_disable_mem_helpers in cpu_tb_exec,
we don't need to do this in generated code as well.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230310195252.210956-3-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-13-alex.bennee@linaro.org>
diff mbox series

Patch

diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c
index ddab20a6a6..3136cef81a 100644
--- a/tcg/tcg-op.c
+++ b/tcg/tcg-op.c
@@ -2808,7 +2808,6 @@  void tcg_gen_exit_tb(const TranslationBlock *tb, unsigned idx)
         tcg_debug_assert(idx == TB_EXIT_REQUESTED);
     }
 
-    plugin_gen_disable_mem_helpers();
     tcg_gen_op1i(INDEX_op_exit_tb, val);
 }