Closed dghosef closed 5 months ago
Some runtime functions like
bool _qdbp_is_unboxed_int(_qdbp_object_ptr obj) {
return ((uintptr_t)obj & 1) == 1;
}
_qdbp_object_ptr _qdbp_make_unboxed_int(uintptr_t value) {
return (_qdbp_object_ptr)((intptr_t)(value << 1) | 1);
}
assume that the lower bit is what makes something unboxed while some like: _qdbp_smallint_sub use the high bit
gives