mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-04 01:20:04 +03:00
Do not generate unused tsd_*_[gs]et() functions.
This avoids a gcc diagnostic note:
note: The ABI for passing parameters with 64-byte alignment has
changed in GCC 4.6
This note related to the cacheline alignment of rtree_ctx_t, which was
introduced by 4a346f5593 (Replace rtree
path cache with LRU cache.).
This commit is contained in:
parent
cd2501efd6
commit
0721b895ff
4 changed files with 31 additions and 33 deletions
|
|
@ -72,7 +72,7 @@ tsd_cleanup(void *arg) {
|
|||
#define MALLOC_TSD_cleanup_yes(n, t) \
|
||||
n##_cleanup(tsd);
|
||||
#define MALLOC_TSD_cleanup_no(n, t)
|
||||
#define O(n, t, c) \
|
||||
#define O(n, t, gs, c) \
|
||||
MALLOC_TSD_cleanup_##c(n, t)
|
||||
MALLOC_TSD
|
||||
#undef MALLOC_TSD_cleanup_yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue