make native compiler not error in debug builds

This commit is contained in:
dzaima 2024-07-23 20:29:28 +03:00
parent 3689e6105c
commit cda5fd8595

View File

@ -48,6 +48,11 @@ NOINLINE B nc_pop(B* wp) {
assert(isArr(w) && v(w)->refc==1 && IA(w)>0);
B r = IGetU(w, a(w)->ia-1);
a(w)->ia--;
#if VERIFY_TAIL
assert(TY(w) == t_harr);
ux start = offsetof(HArr, a) + a(w)->ia * sizeof(B);
FINISH_OVERALLOC(a(w), start, start+sizeof(B));
#endif
return r;
}