xo-interpreter2 stack: + RuntimeContext.visit_pools() method
This commit is contained in:
parent
19906d582e
commit
c99ac53c72
10 changed files with 65 additions and 3 deletions
|
|
@ -6,6 +6,7 @@ set(SELF_SRCS
|
|||
init_primitives.cpp
|
||||
procedure2_register_types.cpp
|
||||
procedure2_register_facets.cpp
|
||||
DSimpleRcx.cpp
|
||||
IRuntimeContext_Any.cpp
|
||||
IRuntimeContext_DSimpleRcx.cpp
|
||||
IProcedure_Any.cpp
|
||||
|
|
@ -13,8 +14,6 @@ set(SELF_SRCS
|
|||
IGCObject_DPrimitive_gco_2_gco_gco.cpp
|
||||
IProcedure_DPrimitive_gco_2_gco_gco.cpp
|
||||
IPrintable_DPrimitive_gco_2_gco_gco.cpp
|
||||
# Add source files here, e.g.:
|
||||
# procedure2.cpp
|
||||
)
|
||||
|
||||
xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
|
||||
|
|
|
|||
19
src/procedure2/DSimpleRcx.cpp
Normal file
19
src/procedure2/DSimpleRcx.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/** @file DSimpleRcx.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Feb 2026
|
||||
**/
|
||||
|
||||
#include "DSimpleRcx.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
||||
void
|
||||
DSimpleRcx::visit_pools(const MemorySizeVisitor & visitor) const
|
||||
{
|
||||
allocator_.visit_pools(visitor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* end DSimpleRcx.cpp */
|
||||
|
|
@ -21,6 +21,12 @@ namespace xo {
|
|||
return self.allocator();
|
||||
}
|
||||
|
||||
auto
|
||||
IRuntimeContext_DSimpleRcx::visit_pools(const DSimpleRcx & self, MemorySizeVisitor visitor) -> void
|
||||
{
|
||||
self.visit_pools(visitor);
|
||||
}
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue