From bc83df3f081725ec0d0d136696d81daf119edb3e Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 4 Apr 2026 18:01:25 -0400 Subject: [PATCH] refactor: retire GCObject.shallow_copy() Collector gets this info from gc-owned object header --- .../interpreter2/vsm/IGCObject_DLocalEnv.hpp | 67 ------------------- 1 file changed, 67 deletions(-) delete mode 100644 include/xo/interpreter2/vsm/IGCObject_DLocalEnv.hpp diff --git a/include/xo/interpreter2/vsm/IGCObject_DLocalEnv.hpp b/include/xo/interpreter2/vsm/IGCObject_DLocalEnv.hpp deleted file mode 100644 index 48b624d6..00000000 --- a/include/xo/interpreter2/vsm/IGCObject_DLocalEnv.hpp +++ /dev/null @@ -1,67 +0,0 @@ -/** @file IGCObject_DLocalEnv.hpp - * - * Generated automagically from ingredients: - * 1. code generator: - * [xo-facet/codegen/genfacet] - * arguments: - * --input [idl/IGCObject_DVirtualSchematikaMachine.json5] - * 2. jinja2 template for abstract facet .hpp file: - * [iface_facet_repr.hpp.j2] - * 3. idl for facet methods - * [idl/IGCObject_DVirtualSchematikaMachine.json5] - **/ - -#pragma once - -#include "GCObject.hpp" -#include -#include -#include "DLocalEnv.hpp" - -namespace xo { namespace scm { class IGCObject_DLocalEnv; } } - -namespace xo { - namespace facet { - template <> - struct FacetImplementation - { - using ImplType = xo::mm::IGCObject_Xfer - ; - }; - } -} - -namespace xo { - namespace scm { - /** @class IGCObject_DLocalEnv - **/ - class IGCObject_DLocalEnv { - public: - /** @defgroup scm-gcobject-dlocalenv-type-traits **/ - ///@{ - using size_type = xo::mm::AGCObject::size_type; - using AAllocator = xo::mm::AGCObject::AAllocator; - using ACollector = xo::mm::AGCObject::ACollector; - using Copaque = xo::mm::AGCObject::Copaque; - using Opaque = xo::mm::AGCObject::Opaque; - ///@} - /** @defgroup scm-gcobject-dlocalenv-methods **/ - ///@{ - // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DLocalEnv & self) noexcept; - /** copy instance using allocator **/ - static Opaque shallow_copy(const DLocalEnv & self, obj mm) noexcept; - - // non-const methods - /** during GC: forward immdiate children **/ - static size_type forward_children(DLocalEnv & self, obj gc) noexcept; - ///@} - }; - - } /*namespace scm*/ -} /*namespace xo*/ - -/* end */ \ No newline at end of file