Make freezing stuff non-terminating TODO

This commit is contained in:
Alexander Shabalin
2021-02-01 13:17:47 +03:00
committed by Vasily Levchenko
parent d72e63334d
commit 5b6a8a3bdb
3 changed files with 12 additions and 7 deletions
@@ -95,6 +95,10 @@ void ObjHeader::destroyMetaObject(ObjHeader* object) {
mm::ExtraObjectData::Uninstall(object);
}
ALWAYS_INLINE bool isPermanentOrFrozen(const ObjHeader* obj) {
return obj->permanent() || isFrozen(obj);
}
ALWAYS_INLINE bool isShareable(const ObjHeader* obj) {
// TODO: Remove when legacy MM is gone.
return true;