refactor: retire GCObject.shallow_size()

Not needed.  Rely on size stored in gc-owned object header
This commit is contained in:
Roland Conybeare 2026-04-04 17:30:03 -04:00
commit 8ba551bb1c
18 changed files with 0 additions and 72 deletions

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmdefcontframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmDefContFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dclosure-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DClosure & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmapplyclosureframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmApplyClosureFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmapplyframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmApplyFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmevalargsframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmEvalArgsFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dlocalenv-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DLocalEnv & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmifelsecontframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmIfElseContFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvsmseqcontframe-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVsmSeqContFrame & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dvirtualschematikamachine-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DVirtualSchematikaMachine & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DClosure::shallow_size(const DClosure & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DClosure::shallow_move(DClosure & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmApplyClosureFrame::shallow_size(const DVsmApplyClosureFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmApplyClosureFrame::shallow_move(DVsmApplyClosureFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmApplyFrame::shallow_size(const DVsmApplyFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmApplyFrame::shallow_move(DVsmApplyFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmDefContFrame::shallow_size(const DVsmDefContFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmDefContFrame::shallow_move(DVsmDefContFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmEvalArgsFrame::shallow_size(const DVsmEvalArgsFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmEvalArgsFrame::shallow_move(DVsmEvalArgsFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmIfElseContFrame::shallow_size(const DVsmIfElseContFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmIfElseContFrame::shallow_move(DVsmIfElseContFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVsmSeqContFrame::shallow_size(const DVsmSeqContFrame & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVsmSeqContFrame::shallow_move(DVsmSeqContFrame & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DLocalEnv::shallow_size(const DLocalEnv & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DLocalEnv::shallow_move(DLocalEnv & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DVirtualSchematikaMachine::shallow_size(const DVirtualSchematikaMachine & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DVirtualSchematikaMachine::shallow_move(DVirtualSchematikaMachine & self, obj<ACollector> gc) noexcept -> Opaque
{