mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
tcg: Move tcg_temp_free_* out of line
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231029210848.78234-12-richard.henderson@linaro.org>
This commit is contained in:
parent
4643f3e07e
commit
58b797130c
2 changed files with 30 additions and 24 deletions
|
@ -31,30 +31,11 @@
|
||||||
|
|
||||||
void tcg_temp_free_internal(TCGTemp *);
|
void tcg_temp_free_internal(TCGTemp *);
|
||||||
|
|
||||||
static inline void tcg_temp_free_i32(TCGv_i32 arg)
|
void tcg_temp_free_i32(TCGv_i32 arg);
|
||||||
{
|
void tcg_temp_free_i64(TCGv_i64 arg);
|
||||||
tcg_temp_free_internal(tcgv_i32_temp(arg));
|
void tcg_temp_free_i128(TCGv_i128 arg);
|
||||||
}
|
void tcg_temp_free_ptr(TCGv_ptr arg);
|
||||||
|
void tcg_temp_free_vec(TCGv_vec arg);
|
||||||
static inline void tcg_temp_free_i64(TCGv_i64 arg)
|
|
||||||
{
|
|
||||||
tcg_temp_free_internal(tcgv_i64_temp(arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void tcg_temp_free_i128(TCGv_i128 arg)
|
|
||||||
{
|
|
||||||
tcg_temp_free_internal(tcgv_i128_temp(arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void tcg_temp_free_ptr(TCGv_ptr arg)
|
|
||||||
{
|
|
||||||
tcg_temp_free_internal(tcgv_ptr_temp(arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void tcg_temp_free_vec(TCGv_vec arg)
|
|
||||||
{
|
|
||||||
tcg_temp_free_internal(tcgv_vec_temp(arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
TCGv_i32 tcg_temp_ebb_new_i32(void);
|
TCGv_i32 tcg_temp_ebb_new_i32(void);
|
||||||
TCGv_i64 tcg_temp_ebb_new_i64(void);
|
TCGv_i64 tcg_temp_ebb_new_i64(void);
|
||||||
|
|
25
tcg/tcg.c
25
tcg/tcg.c
|
@ -1809,6 +1809,31 @@ void tcg_temp_free_internal(TCGTemp *ts)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tcg_temp_free_i32(TCGv_i32 arg)
|
||||||
|
{
|
||||||
|
tcg_temp_free_internal(tcgv_i32_temp(arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
void tcg_temp_free_i64(TCGv_i64 arg)
|
||||||
|
{
|
||||||
|
tcg_temp_free_internal(tcgv_i64_temp(arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
void tcg_temp_free_i128(TCGv_i128 arg)
|
||||||
|
{
|
||||||
|
tcg_temp_free_internal(tcgv_i128_temp(arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
void tcg_temp_free_ptr(TCGv_ptr arg)
|
||||||
|
{
|
||||||
|
tcg_temp_free_internal(tcgv_ptr_temp(arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
void tcg_temp_free_vec(TCGv_vec arg)
|
||||||
|
{
|
||||||
|
tcg_temp_free_internal(tcgv_vec_temp(arg));
|
||||||
|
}
|
||||||
|
|
||||||
TCGTemp *tcg_constant_internal(TCGType type, int64_t val)
|
TCGTemp *tcg_constant_internal(TCGType type, int64_t val)
|
||||||
{
|
{
|
||||||
TCGContext *s = tcg_ctx;
|
TCGContext *s = tcg_ctx;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue