aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/gc.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-17 16:08:58 +0200
committerBad Diode <bd@badd10de.dev>2021-10-17 16:08:58 +0200
commit6fcdb655a6581963a873224ad01f92b4e88f0de3 (patch)
tree88a12f6f5f2424e97a0afb6a8dcf4d43a75260c1 /src/bootstrap/gc.c
parent953a44b3fd61302e6b86d549109a718a001c9b3c (diff)
downloadbdl-6fcdb655a6581963a873224ad01f92b4e88f0de3.tar.gz
bdl-6fcdb655a6581963a873224ad01f92b4e88f0de3.zip
Cleanup if call in eval function
Diffstat (limited to 'src/bootstrap/gc.c')
-rw-r--r--src/bootstrap/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/gc.c b/src/bootstrap/gc.c
index 5f023bc..11a1f5a 100644
--- a/src/bootstrap/gc.c
+++ b/src/bootstrap/gc.c
@@ -270,7 +270,7 @@ alloc_object(ObjectType type) {
270 // references! Should we work with offsets all the way? That is for 270 // references! Should we work with offsets all the way? That is for
271 // cdr and car? Should we have a utility function? All in all, we 271 // cdr and car? Should we have a utility function? All in all, we
272 // need to refactor the codebase first to work with pointer offsets 272 // need to refactor the codebase first to work with pointer offsets
273 // rather than objects. This issue is very important, if we are in 273 // rather than objects. This issue is very important, if we are in
274 // the middle of an operation that tries to allocate memory but we 274 // the middle of an operation that tries to allocate memory but we
275 // had saved pointers to some object, the pointer references may be 275 // had saved pointers to some object, the pointer references may be
276 // invalidated, crashing or worse, silently returning garbage! Let's 276 // invalidated, crashing or worse, silently returning garbage! Let's