From 45f9ddf9700a4836d40e2022c1a35897c3a7bfb4 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 19 Feb 2018 02:07:02 -0500 Subject: [PATCH] tcg: Remove tcg_get_arg_str_i32/64 Backports commit e4ce0d4eb774eb2a8b6a27cd8a6f1d75e05c21ae from qemu --- qemu/tcg/tcg.c | 10 ---------- qemu/tcg/tcg.h | 3 --- 2 files changed, 13 deletions(-) diff --git a/qemu/tcg/tcg.c b/qemu/tcg/tcg.c index 7fa59828..9d7baef0 100644 --- a/qemu/tcg/tcg.c +++ b/qemu/tcg/tcg.c @@ -925,16 +925,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/qemu/tcg/tcg.h b/qemu/tcg/tcg.h index e7bcd0ab..83eb4f17 100644 --- a/qemu/tcg/tcg.h +++ b/qemu/tcg/tcg.h @@ -520,9 +520,6 @@ TCGv_i64 tcg_temp_new_internal_i64(TCGContext *s, int temp_local); void tcg_temp_free_i32(TCGContext *s, TCGv_i32 arg); void tcg_temp_free_i64(TCGContext *s, 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(TCGContext *s, TCGv_ptr reg, intptr_t offset, const char *name) {