aboutsummaryrefslogtreecommitdiffstats
path: root/bytecode/src/collector.rs
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2022-03-03 13:48:19 -0800
committerRose Hogenson <rhogenson@posteo.net>2022-03-03 13:48:19 -0800
commit056fbf7e7dc727d020ba54e439f2b47411c58e76 (patch)
treea85cd582c4b06932463c4754ef466216d9afc8aa /bytecode/src/collector.rs
parentNitpick on loop style. (diff)
downloadchromatopelma-056fbf7e7dc727d020ba54e439f2b47411c58e76.tar.zst
Start the garbage collector.
I don't think we finished it, but I wrote this code a while ago and I'm just trying to get it committed.
Diffstat (limited to 'bytecode/src/collector.rs')
-rw-r--r--bytecode/src/collector.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bytecode/src/collector.rs b/bytecode/src/collector.rs
new file mode 100644
index 0000000..38a2cf9
--- /dev/null
+++ b/bytecode/src/collector.rs
@@ -0,0 +1 @@
+fn collect_garbage(heap: