[m-rev.] for review: foreign code with determinism failure

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Apr 22 14:45:22 AEST 2001


On 20-Apr-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> For review by anyone.
> 
> compiler/pragma_c_gen.m:
> 	We have traditionally generated the same code for model_semi
> 	pragma foreign code, regardless of its actual determinism. This diff
> 	changes that; for foreign code whos determinism is failure, it does not
> 	check SUCCESS_INDICATOR, but fails directly instead.
> 
> 	The objective of this change is to speed up deep profiling, which
> 	inserts many calls to procedures implemented in foreign code whose
> 	determinism is failure.

That looks fine (for the main branch).

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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