diff --git a/include/pocketpy/interpreter/gc.h b/include/pocketpy/interpreter/heap.h similarity index 100% rename from include/pocketpy/interpreter/gc.h rename to include/pocketpy/interpreter/heap.h diff --git a/include/pocketpy/interpreter/vm.h b/include/pocketpy/interpreter/vm.h index 00acdc9d..163594d8 100644 --- a/include/pocketpy/interpreter/vm.h +++ b/include/pocketpy/interpreter/vm.h @@ -2,7 +2,7 @@ #include "pocketpy/objects/codeobject.h" #include "pocketpy/pocketpy.h" -#include "pocketpy/interpreter/gc.h" +#include "pocketpy/interpreter/heap.h" #include "pocketpy/interpreter/frame.h" #include "pocketpy/interpreter/modules.h" diff --git a/run_tests.sh b/run_tests.sh index c66fb063..14915a2f 100644 --- a/run_tests.sh +++ b/run_tests.sh @@ -15,7 +15,6 @@ fi rm -rf .coverage mkdir .coverage -rm pocketpy_c.gcno UNITS=$(find ./ -name "*.gcno") llvm-cov-15 gcov ${UNITS} -r -s include/ -r -s src/ >> .coverage/coverage.txt diff --git a/src/interpreter/gc.c b/src/interpreter/heap.c similarity index 98% rename from src/interpreter/gc.c rename to src/interpreter/heap.c index 821bf741..a474ec4d 100644 --- a/src/interpreter/gc.c +++ b/src/interpreter/heap.c @@ -1,4 +1,4 @@ -#include "pocketpy/interpreter/gc.h" +#include "pocketpy/interpreter/heap.h" #include "pocketpy/common/memorypool.h" #include "pocketpy/objects/base.h"