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:
parent
80fe32fd29
commit
a75c342ac2
|
@ -201,8 +201,6 @@ struct debug_fmt_ops {
|
||||||
const struct cu *cu);
|
const struct cu *cu);
|
||||||
unsigned long long (*tag__orig_id)(const struct tag *tag,
|
unsigned long long (*tag__orig_id)(const struct tag *tag,
|
||||||
const struct cu *cu);
|
const struct cu *cu);
|
||||||
void (*tag__free_orig_info)(struct tag *tag,
|
|
||||||
struct cu *cu);
|
|
||||||
void (*cu__delete)(struct cu *cu);
|
void (*cu__delete)(struct cu *cu);
|
||||||
bool has_alignment_info;
|
bool has_alignment_info;
|
||||||
};
|
};
|
||||||
|
@ -527,12 +525,6 @@ static inline unsigned long long tag__orig_id(const struct tag *tag,
|
||||||
return 0;
|
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,
|
size_t tag__fprintf_decl_info(const struct tag *tag,
|
||||||
const struct cu *cu, FILE *fp);
|
const struct cu *cu, FILE *fp);
|
||||||
size_t tag__fprintf(struct tag *tag, const struct cu *cu,
|
size_t tag__fprintf(struct tag *tag, const struct cu *cu,
|
||||||
|
|
Loading…
Reference in New Issue