[m-dev.] diff: std_util.m changes to mercury_compare_typeinfos() etc.

Fergus Henderson fjh at cs.mu.oz.au
Fri May 23 20:53:01 AEST 1997


Tyson Richard DOWD, you wrote:
> 
> > -	compare_output = mercury_compare_type_info(typeinfo1, typeinfo2);
> > +	compare_output = ML_compare_type_info(typeinfo1, typeinfo2);
> >  	if (compare_output != COMPARE_EQUAL) {
> >  		proceed();
> 
> You didn't save transient registers here. Either this code has to
> save them

Ah, thanks for spotting that.  Yes, it was a bug.  I hate to think how
long it would take to find a bug like that by debugging.

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



More information about the developers mailing list