for review: fix for inlining of polymorphic procedures

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Mon Feb 23 10:27:16 AEDT 1998


> 
> compiler/mercury_builtin.m
> compiler/code_util.m
> 	Add a new builtin, unsafe_type_cast/2, used by common.m
> 	to preserve type correctness.
> 	Make unsafe_promise_unique/2 a builtin, since it is basically
> 	the same as unsafe_type_cast/2.
> 

If this might occur in user code (as opposed to compiler generated
intermediate code), I guess you'd better to a Prolog version in
the library so that it works in Sicstus.

Thomas
-- 
ZZ:wq!
^X^C
Thomas Conway               				      conway at cs.mu.oz.au
AD DEUM ET VINUM	  			   Nail here [] for new monitor.



More information about the developers mailing list