blob: 21e38e223b8aca4618728af79b53da4b4493ee84 [file] [log] [blame]
#include "gc.h"
#include "lisp.h"
void _mark(unsigned int value)
{
}
void _sweep()
{
}
void _do_gc(unsigned int esp, unsigned int ebp)
{
unsigned int *esp_p = (unsigned int *)esp,
*ebp_p = (unsigned int *)ebp;
for (int i = 0; esp_p + i < ebp_p; i++)
{
_mark(esp_p[i]);
}
}