From a0de9b8ebd6c05e01c34fb84cb055b11b9a3c4e7 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 4 Apr 2026 16:37:17 -0400 Subject: [PATCH] refactor: rename RCollector.std_copy_for -> std_move_for --- src/interpreter2/DClosure.cpp | 2 +- src/interpreter2/DLocalEnv.cpp | 2 +- src/interpreter2/DVirtualSchematikaMachine.cpp | 2 +- src/interpreter2/DVsmApplyClosureFrame.cpp | 2 +- src/interpreter2/DVsmApplyFrame.cpp | 2 +- src/interpreter2/DVsmDefContFrame.cpp | 2 +- src/interpreter2/DVsmEvalArgsFrame.cpp | 2 +- src/interpreter2/DVsmIfElseContFrame.cpp | 2 +- src/interpreter2/DVsmSeqContFrame.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/interpreter2/DClosure.cpp b/src/interpreter2/DClosure.cpp index ca8f3bee..6b346463 100644 --- a/src/interpreter2/DClosure.cpp +++ b/src/interpreter2/DClosure.cpp @@ -71,7 +71,7 @@ namespace xo { DClosure * DClosure::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DLocalEnv.cpp b/src/interpreter2/DLocalEnv.cpp index a12200a0..4124e280 100644 --- a/src/interpreter2/DLocalEnv.cpp +++ b/src/interpreter2/DLocalEnv.cpp @@ -98,7 +98,7 @@ namespace xo { DLocalEnv * DLocalEnv::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVirtualSchematikaMachine.cpp b/src/interpreter2/DVirtualSchematikaMachine.cpp index 5ccb333c..06a4c23f 100644 --- a/src/interpreter2/DVirtualSchematikaMachine.cpp +++ b/src/interpreter2/DVirtualSchematikaMachine.cpp @@ -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. **/ diff --git a/src/interpreter2/DVsmApplyClosureFrame.cpp b/src/interpreter2/DVsmApplyClosureFrame.cpp index c7dca412..129d0d46 100644 --- a/src/interpreter2/DVsmApplyClosureFrame.cpp +++ b/src/interpreter2/DVsmApplyClosureFrame.cpp @@ -41,7 +41,7 @@ namespace xo { DVsmApplyClosureFrame * DVsmApplyClosureFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVsmApplyFrame.cpp b/src/interpreter2/DVsmApplyFrame.cpp index f51742f7..d388f9c4 100644 --- a/src/interpreter2/DVsmApplyFrame.cpp +++ b/src/interpreter2/DVsmApplyFrame.cpp @@ -49,7 +49,7 @@ namespace xo { DVsmApplyFrame * DVsmApplyFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVsmDefContFrame.cpp b/src/interpreter2/DVsmDefContFrame.cpp index f3a8b35b..02094534 100644 --- a/src/interpreter2/DVsmDefContFrame.cpp +++ b/src/interpreter2/DVsmDefContFrame.cpp @@ -40,7 +40,7 @@ namespace xo { DVsmDefContFrame * DVsmDefContFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVsmEvalArgsFrame.cpp b/src/interpreter2/DVsmEvalArgsFrame.cpp index c487ae59..204bfb44 100644 --- a/src/interpreter2/DVsmEvalArgsFrame.cpp +++ b/src/interpreter2/DVsmEvalArgsFrame.cpp @@ -50,7 +50,7 @@ namespace xo { DVsmEvalArgsFrame * DVsmEvalArgsFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVsmIfElseContFrame.cpp b/src/interpreter2/DVsmIfElseContFrame.cpp index 4978ff9c..511af900 100644 --- a/src/interpreter2/DVsmIfElseContFrame.cpp +++ b/src/interpreter2/DVsmIfElseContFrame.cpp @@ -38,7 +38,7 @@ namespace xo { DVsmIfElseContFrame * DVsmIfElseContFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t diff --git a/src/interpreter2/DVsmSeqContFrame.cpp b/src/interpreter2/DVsmSeqContFrame.cpp index 7ffea82e..ad006def 100644 --- a/src/interpreter2/DVsmSeqContFrame.cpp +++ b/src/interpreter2/DVsmSeqContFrame.cpp @@ -41,7 +41,7 @@ namespace xo { DVsmSeqContFrame * DVsmSeqContFrame::shallow_move(obj gc) noexcept { - return gc.std_copy_for(this); + return gc.std_move_for(this); } std::size_t