mirror of
https://github.com/frida/tinycc
synced 2025-01-06 20:12:00 +03:00
fix for the "Reduce allocations overhead"
Now no trap when compiling tccboot
This commit is contained in:
parent
1f49441a27
commit
b4125ba0c1
2
tccpp.c
2
tccpp.c
@ -242,7 +242,7 @@ tail_call:
|
|||||||
al->nb_total++;
|
al->nb_total++;
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
} else if (al->top && is_own) {
|
} else if (is_own) {
|
||||||
al->nb_allocs--;
|
al->nb_allocs--;
|
||||||
ret = tal_realloc(*pal, 0, size);
|
ret = tal_realloc(*pal, 0, size);
|
||||||
header = (((tal_header_t *)p) - 1);
|
header = (((tal_header_t *)p) - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user