1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-22 10:14:49 +00:00

Remove scratch memory functionality.

This commit is contained in:
bakpakin
2017-07-02 19:52:44 -04:00
parent 113c6cd6ad
commit bfadf6ff12
5 changed files with 103 additions and 55 deletions

View File

@@ -279,8 +279,6 @@ void gst_collect(Gst *vm) {
gst_mark_value(vm, gst_wrap_table(vm->registry));
gst_mark_value(vm, gst_wrap_table(vm->env));
gst_mark_value(vm, vm->ret);
if (vm->scratch)
gc_header(vm->scratch)->color = vm->black;
gst_sweep(vm);
vm->nextCollection = 0;
}