another limit check bug

Stephen Weeks MLton@sourcelight.com
Mon, 26 Nov 2001 09:47:45 -0800


> I don't think this has anything to do with Henry's problem, but I think
> there is a bug in the LimitCheck macro for the ccodegen:
...
> I think this clinches a per thread bytesNeeded and moving the while loop
> into the GC_gc function.

Yep.  I agree.

> I don't understand: the variable `b' is local isn't it?

Yes, but not per-thread.