core: Ditch tag__free_orig_info(), unused

Since we stopped using per-cu obstacks we don't need it. If we ever
want to use it we can do per thread obstacks.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-30 10:07:14 -03:00
parent 80fe32fd29
commit a75c342ac2
1 changed files with 0 additions and 8 deletions

View File

@ -201,8 +201,6 @@ struct debug_fmt_ops {
const struct cu *cu);
unsigned long long (*tag__orig_id)(const struct tag *tag,
const struct cu *cu);
void (*tag__free_orig_info)(struct tag *tag,
struct cu *cu);
void (*cu__delete)(struct cu *cu);
bool has_alignment_info;
};
@ -527,12 +525,6 @@ static inline unsigned long long tag__orig_id(const struct tag *tag,
return 0;
}
static inline void tag__free_orig_info(struct tag *tag, struct cu *cu)
{
if (cu->dfops && cu->dfops->tag__free_orig_info)
cu->dfops->tag__free_orig_info(tag, cu);
}
size_t tag__fprintf_decl_info(const struct tag *tag,
const struct cu *cu, FILE *fp);
size_t tag__fprintf(struct tag *tag, const struct cu *cu,