mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
tcg: Make some tcg-target.c routines static.
Both tcg_target_init and tcg_target_qemu_prologue are unused outside of tcg.c. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
3b6dac3416
commit
e4d58b41f9
12 changed files with 22 additions and 23 deletions
|
@ -1746,7 +1746,7 @@ static const TCGTargetOpDef arm_op_defs[] = {
|
|||
{ -1 },
|
||||
};
|
||||
|
||||
void tcg_target_init(TCGContext *s)
|
||||
static void tcg_target_init(TCGContext *s)
|
||||
{
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
/* fail safe */
|
||||
|
@ -1809,7 +1809,7 @@ static inline void tcg_out_movi(TCGContext *s, TCGType type,
|
|||
tcg_out_movi32(s, COND_AL, ret, arg);
|
||||
}
|
||||
|
||||
void tcg_target_qemu_prologue(TCGContext *s)
|
||||
static void tcg_target_qemu_prologue(TCGContext *s)
|
||||
{
|
||||
/* There is no need to save r7, it is used to store the address
|
||||
of the env structure and is not modified by GCC. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue