[m-rev.] diff/for review: allow bootstrap in decldebug grades

Ralph Becket rafe at cs.mu.OZ.AU
Wed May 18 15:31:07 AEST 2005

Zoltan Somogyi, Wednesday, 18 May 2005:
> Post-commit reviews welcome.
> Zoltan.
> library/io.m:
> 	Allow the compiler to bootstrap in decldebug grades without increasing
> 	the detstack size. Do this by making the predicates whose very deep
> 	recursion used to lead to exhausting the detstack into two-level loops,
> 	with never more than 1000 stack frames of the inner recursive predicate
> 	on the stack at a time. To reduce the time impact in grades in which
> 	tail recursion is not disabled, only use the new setup in debug grades.

That looks fine.
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe

More information about the reviews mailing list