change freed object debug reference count value

the previous one had hex 0xaaaaada8, the new one has a more easily identifiable signed decimal form
This commit is contained in:
dzaima 2025-05-26 22:30:10 +03:00
parent 5e68db7bc1
commit 7e3e4a031f

View File

@ -481,7 +481,7 @@ FORCE_INLINE void preFree(Value* x, bool mmx) {
if (x->type==t_empty) fatal("double-free"); if (x->type==t_empty) fatal("double-free");
// u32 undef; // u32 undef;
// x->refc = undef; // x->refc = undef;
x->refc = -1431655000; x->refc = -1111119190; // unsigned: 3183848106; hex: 0xbdc5aaaa
#endif #endif
// x->refc = 0x61616161; // x->refc = 0x61616161;
} }