Don't make assumptions about address format

This commit is contained in:
Vestral 2025-03-19 12:23:23 +09:00 committed by Megamouse
parent e2df71d87c
commit 77eef4d783

View file

@ -574,7 +574,6 @@ namespace stx
}
// Random checks which may fail on invalid pointer
ensure((reinterpret_cast<u64>(r.d()->destroy.load()) - 0x10000) >> 47 == 0);
ensure((r.d()->refs++ - 1) >> 58 == 0);
return r;
}