refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
6b8ac3dcd2
commit
c3af763383
22 changed files with 0 additions and 88 deletions
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-ddefineexpr-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DDefineExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dapplyexpr-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DApplyExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dconstant-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DConstant & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-difelseexpr-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DIfElseExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dlambdaexpr-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DLambdaExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dsequenceexpr-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DSequenceExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dvarref-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DVarRef & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dglobalsymtab-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DGlobalSymtab & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dlocalsymtab-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DLocalSymtab & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dtypename-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DTypename & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
|||
/** @defgroup scm-gcobject-dvariable-methods **/
|
||||
///@{
|
||||
// const methods
|
||||
/** memory consumption for this instance **/
|
||||
static size_type shallow_size(const DVariable & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** move instance using allocator **/
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DApplyExpr::shallow_size(const DApplyExpr & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DApplyExpr::shallow_move(DApplyExpr & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DConstant::shallow_size(const DConstant & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DConstant::shallow_move(DConstant & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DDefineExpr::shallow_size(const DDefineExpr & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DDefineExpr::shallow_move(DDefineExpr & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DGlobalSymtab::shallow_size(const DGlobalSymtab & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DGlobalSymtab::shallow_move(DGlobalSymtab & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DIfElseExpr::shallow_size(const DIfElseExpr & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DIfElseExpr::shallow_move(DIfElseExpr & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DLambdaExpr::shallow_size(const DLambdaExpr & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DLambdaExpr::shallow_move(DLambdaExpr & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DLocalSymtab::shallow_size(const DLocalSymtab & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DLocalSymtab::shallow_move(DLocalSymtab & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DSequenceExpr::shallow_size(const DSequenceExpr & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DSequenceExpr::shallow_move(DSequenceExpr & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DTypename::shallow_size(const DTypename & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DTypename::shallow_move(DTypename & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DVarRef::shallow_size(const DVarRef & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DVarRef::shallow_move(DVarRef & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,12 +15,6 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DVariable::shallow_size(const DVariable & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DVariable::shallow_move(DVariable & self, obj<ACollector> gc) noexcept -> Opaque
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue