refactor: rename RCollector.std_copy_for -> std_move_for

This commit is contained in:
Roland Conybeare 2026-04-04 16:37:17 -04:00
commit a0de9b8ebd
9 changed files with 9 additions and 9 deletions

View file

@ -71,7 +71,7 @@ namespace xo {
DClosure *
DClosure::shallow_move(obj<ACollector> gc) noexcept {
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -98,7 +98,7 @@ namespace xo {
DLocalEnv *
DLocalEnv::shallow_move(obj<ACollector> gc) noexcept {
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -958,7 +958,7 @@ namespace xo {
{
(void)gc;
/** TODO: should be able to use gc.std_copy_for(this) now
/** TODO: should be able to use gc.std_move_for(this) now
* that shallow_move uses move construction.
* DVirtualSchematikaMachine is (or can be made) moveable.
**/

View file

@ -41,7 +41,7 @@ namespace xo {
DVsmApplyClosureFrame *
DVsmApplyClosureFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -49,7 +49,7 @@ namespace xo {
DVsmApplyFrame *
DVsmApplyFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -40,7 +40,7 @@ namespace xo {
DVsmDefContFrame *
DVsmDefContFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for<DVsmDefContFrame>(this);
return gc.std_move_for<DVsmDefContFrame>(this);
}
std::size_t

View file

@ -50,7 +50,7 @@ namespace xo {
DVsmEvalArgsFrame *
DVsmEvalArgsFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -38,7 +38,7 @@ namespace xo {
DVsmIfElseContFrame *
DVsmIfElseContFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for<DVsmIfElseContFrame>(this);
return gc.std_move_for<DVsmIfElseContFrame>(this);
}
std::size_t

View file

@ -41,7 +41,7 @@ namespace xo {
DVsmSeqContFrame *
DVsmSeqContFrame::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for<DVsmSeqContFrame>(this);
return gc.std_move_for<DVsmSeqContFrame>(this);
}
std::size_t