aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-06-15 10:21:22 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-07-14 12:19:01 +0200
commit6ad8307bdd93834568b5969cb7e704de15f01a8b (patch)
tree11da18deb6973c6a4f3cff54907ea9704167ed5d /include
parent08b97f7ff299df35c61bc74b8e53dbe23d59470b (diff)
downloadqemu-6ad8307bdd93834568b5969cb7e704de15f01a8b.zip
qemu-6ad8307bdd93834568b5969cb7e704de15f01a8b.tar.gz
qemu-6ad8307bdd93834568b5969cb7e704de15f01a8b.tar.bz2
tcg: Remove cpu_ld*_code_ra
These functions are not used, and are not usable in the context of code generation, because we never have a helper return address to pass in to them. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/cpu_ldst_useronly_template.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/exec/cpu_ldst_useronly_template.h b/include/exec/cpu_ldst_useronly_template.h
index e65733f..8c7a2c6 100644
--- a/include/exec/cpu_ldst_useronly_template.h
+++ b/include/exec/cpu_ldst_useronly_template.h
@@ -72,6 +72,7 @@ glue(glue(cpu_ld, USUFFIX), MEMSUFFIX)(CPUArchState *env, abi_ptr ptr)
return glue(glue(ld, USUFFIX), _p)(g2h(ptr));
}
+#ifndef CODE_ACCESS
static inline RES_TYPE
glue(glue(glue(cpu_ld, USUFFIX), MEMSUFFIX), _ra)(CPUArchState *env,
abi_ptr ptr,
@@ -83,6 +84,7 @@ glue(glue(glue(cpu_ld, USUFFIX), MEMSUFFIX), _ra)(CPUArchState *env,
clear_helper_retaddr();
return ret;
}
+#endif
#if DATA_SIZE <= 2
static inline int
@@ -96,6 +98,7 @@ glue(glue(cpu_lds, SUFFIX), MEMSUFFIX)(CPUArchState *env, abi_ptr ptr)
return glue(glue(lds, SUFFIX), _p)(g2h(ptr));
}
+#ifndef CODE_ACCESS
static inline int
glue(glue(glue(cpu_lds, SUFFIX), MEMSUFFIX), _ra)(CPUArchState *env,
abi_ptr ptr,
@@ -107,7 +110,8 @@ glue(glue(glue(cpu_lds, SUFFIX), MEMSUFFIX), _ra)(CPUArchState *env,
clear_helper_retaddr();
return ret;
}
-#endif
+#endif /* CODE_ACCESS */
+#endif /* DATA_SIZE <= 2 */
#ifndef CODE_ACCESS
static inline void