mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03: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
|
@ -1600,7 +1600,7 @@ static int tcg_target_callee_save_regs[] = {
|
|||
TCG_REG_R18
|
||||
};
|
||||
|
||||
void tcg_target_qemu_prologue(TCGContext *s)
|
||||
static void tcg_target_qemu_prologue(TCGContext *s)
|
||||
{
|
||||
int frame_size, i;
|
||||
|
||||
|
@ -1652,7 +1652,7 @@ void tcg_target_qemu_prologue(TCGContext *s)
|
|||
TCG_REG_SP, -frame_size, INSN_LDWM);
|
||||
}
|
||||
|
||||
void tcg_target_init(TCGContext *s)
|
||||
static void tcg_target_init(TCGContext *s)
|
||||
{
|
||||
tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffffffff);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue