>
> Any objections to committing this?
>

None from me.  This is a clean, simple solution to what initially sounded
like a complicated problem.

My only suggestion is to initialize <Free_primitive> to zero explicitly.
 That makes it clearer how this test works:

  if (Free_primitive < heap_start)

Otherwise, if someone calls <Primitive_GC> outside of a primitive before any
primitive is ever invoked, you're relying on this variable being initialized
to zero implicitly in order to detect that condition.
_______________________________________________
MIT-Scheme-devel mailing list
MIT-Scheme-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to