refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
d4e951fded
commit
210f568f7b
14 changed files with 0 additions and 56 deletions
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-darray-methods **/
|
/** @defgroup scm-gcobject-darray-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DArray & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dboolean-methods **/
|
/** @defgroup scm-gcobject-dboolean-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DBoolean & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-ddictionary-methods **/
|
/** @defgroup scm-gcobject-ddictionary-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DDictionary & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-druntimeerror-methods **/
|
/** @defgroup scm-gcobject-druntimeerror-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DRuntimeError & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dlist-methods **/
|
/** @defgroup scm-gcobject-dlist-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DList & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dfloat-methods **/
|
/** @defgroup scm-gcobject-dfloat-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DFloat & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dinteger-methods **/
|
/** @defgroup scm-gcobject-dinteger-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DInteger & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DArray::shallow_size(const DArray & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DArray::shallow_move(DArray & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DArray::shallow_move(DArray & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DBoolean::shallow_size(const DBoolean & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DBoolean::shallow_move(DBoolean & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DBoolean::shallow_move(DBoolean & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DDictionary::shallow_size(const DDictionary & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DDictionary::shallow_move(DDictionary & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DDictionary::shallow_move(DDictionary & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DFloat::shallow_size(const DFloat & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DFloat::shallow_move(DFloat & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DFloat::shallow_move(DFloat & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DInteger::shallow_size(const DInteger & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DInteger::shallow_move(DInteger & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DInteger::shallow_move(DInteger & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DList::shallow_size(const DList & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DList::shallow_move(DList & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DList::shallow_move(DList & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DRuntimeError::shallow_size(const DRuntimeError & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DRuntimeError::shallow_move(DRuntimeError & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DRuntimeError::shallow_move(DRuntimeError & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue