refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
064d30de84
commit
e20037660a
10 changed files with 0 additions and 40 deletions
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-darraytype-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DArrayType & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-datomictype-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DAtomicType & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dfunctiontype-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DFunctionType & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dlisttype-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DListType & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dtypevarref-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DTypeVarRef & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DArrayType::shallow_size(const DArrayType & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DArrayType::shallow_move(DArrayType & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DAtomicType::shallow_size(const DAtomicType & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DAtomicType::shallow_move(DAtomicType & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DFunctionType::shallow_size(const DFunctionType & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DFunctionType::shallow_move(DFunctionType & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DListType::shallow_size(const DListType & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DListType::shallow_move(DListType & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DTypeVarRef::shallow_size(const DTypeVarRef & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DTypeVarRef::shallow_move(DTypeVarRef & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue