From: Richard Henderson Date: Wed, 18 Sep 2013 22:08:52 +0000 (-0700) Subject: tcg: Remove tcg_get_arg_str_i32/64 X-Git-Tag: TizenStudio_2.0_p2.4~27^2~6^2~8^2~207^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4ce0d4eb774eb2a8b6a27cd8a6f1d75e05c21ae;p=sdk%2Femulator%2Fqemu.git tcg: Remove tcg_get_arg_str_i32/64 Reviewed-by: Aurelien Jarno Signed-off-by: Richard Henderson --- diff --git a/tcg/tcg.c b/tcg/tcg.c index c0145ea..74e45e6 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -923,16 +923,6 @@ static char *tcg_get_arg_str_idx(TCGContext *s, char *buf, int buf_size, return buf; } -char *tcg_get_arg_str_i32(TCGContext *s, char *buf, int buf_size, TCGv_i32 arg) -{ - return tcg_get_arg_str_idx(s, buf, buf_size, GET_TCGV_I32(arg)); -} - -char *tcg_get_arg_str_i64(TCGContext *s, char *buf, int buf_size, TCGv_i64 arg) -{ - return tcg_get_arg_str_idx(s, buf, buf_size, GET_TCGV_I64(arg)); -} - /* Find helper name. */ static inline const char *tcg_find_helper(TCGContext *s, uintptr_t val) { diff --git a/tcg/tcg.h b/tcg/tcg.h index 3674739..223d9c6 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -641,11 +641,6 @@ TCGv_i64 tcg_temp_new_internal_i64(int temp_local); void tcg_temp_free_i32(TCGv_i32 arg); void tcg_temp_free_i64(TCGv_i64 arg); -char *tcg_get_arg_str_i32(TCGContext *s, char *buf, - int buf_size, TCGv_i32 arg); -char *tcg_get_arg_str_i64(TCGContext *s, char *buf, - int buf_size, TCGv_i64 arg); - static inline TCGv_i32 tcg_global_mem_new_i32(TCGv_ptr reg, intptr_t offset, const char *name) {