aboutsummaryrefslogtreecommitdiff
path: root/tcg/sparc/tcg-target.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-09-13 19:37:46 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-09-22 16:52:37 +0200
commit6e17d0c5cdf7b3d0086708ba1d2df931e18cb5b5 (patch)
tree03a4af69be9186becf0edbc231f86319ce9896b4 /tcg/sparc/tcg-target.c
parentd73685e3c3936fd7851a32eff5443405cb5368be (diff)
downloadqemu-6e17d0c5cdf7b3d0086708ba1d2df931e18cb5b5.zip
qemu-6e17d0c5cdf7b3d0086708ba1d2df931e18cb5b5.tar.gz
qemu-6e17d0c5cdf7b3d0086708ba1d2df931e18cb5b5.tar.bz2
tcg: Remove tcg_target_get_call_iarg_regs_count
The TCG targets no longer need individual implementations. Since commit 6a18ae2d2947532d5c26439548afa0481c4529f9, 'flags' is no longer used in tcg_target_get_call_iarg_regs_count. The remaining tcg_target_get_call_iarg_regs_count is trivial and only called once. Therefore the patch eliminates it completely. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/sparc/tcg-target.c')
-rw-r--r--tcg/sparc/tcg-target.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
index baed3b4..014bbfd 100644
--- a/tcg/sparc/tcg-target.c
+++ b/tcg/sparc/tcg-target.c
@@ -133,12 +133,6 @@ static void patch_reloc(uint8_t *code_ptr, int type,
}
}
-/* maximum number of register used for input function arguments */
-static inline int tcg_target_get_call_iarg_regs_count(int flags)
-{
- return 6;
-}
-
/* parse target specific constraints */
static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str)
{