aboutsummaryrefslogtreecommitdiff
path: root/include/exec/cpu_ldst_useronly_template.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-07-09 10:03:12 +0200
committerRichard Henderson <richard.henderson@linaro.org>2019-07-14 12:19:01 +0200
commit2fbb2353ce8d098e172cd25024fc221c1c8e3591 (patch)
tree8b8839f1c051b8003886f673974293f7365b8726 /include/exec/cpu_ldst_useronly_template.h
parent6ad8307bdd93834568b5969cb7e704de15f01a8b (diff)
tcg: Remove duplicate #if !defined(CODE_ACCESS)
This code block is already surrounded by #ifndef CODE_ACCESS. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/cpu_ldst_useronly_template.h')
-rw-r--r--include/exec/cpu_ldst_useronly_template.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu_ldst_useronly_template.h b/include/exec/cpu_ldst_useronly_template.h
index 8c7a2c6cd7..d663826ac2 100644
--- a/include/exec/cpu_ldst_useronly_template.h
+++ b/include/exec/cpu_ldst_useronly_template.h
@@ -118,11 +118,9 @@ static inline void
glue(glue(cpu_st, SUFFIX), MEMSUFFIX)(CPUArchState *env, abi_ptr ptr,
RES_TYPE v)
{
-#if !defined(CODE_ACCESS)
trace_guest_mem_before_exec(
env_cpu(env), ptr,
trace_mem_build_info(SHIFT, false, MO_TE, true));
-#endif
glue(glue(st, SUFFIX), _p)(g2h(ptr), v);
}