mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
tcg: Remove tcg_target_get_call_iarg_regs_count
The TCG targets no longer need individual implementations.
Since commit 6a18ae2d29
,
'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>
This commit is contained in:
parent
d73685e3c3
commit
6e17d0c5cd
11 changed files with 1 additions and 61 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue