[m-rev.] for review: refactor mlds_to_il.m

Peter Ross peter.ross at miscrit.be
Wed Jul 11 00:47:54 AEST 2001


On Tue, Jul 10, 2001 at 02:46:18AM +1000, Fergus Henderson wrote:
> On 09-Jul-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> 
> > +mlds_defn_to_ilasm_decl(
> ...
> > +		% XXX Maybe it would be better to just check to see
> > +		% whether or not there are any init instructions then
> > +		% explicitly checking for the name mercury_code.
> > +	( EntityName = "mercury_code" ->
> 
> I think definitely, not maybe.
> 
I tried that and it breaks the compiler.  Currently the init_instrs
generated only make sense for the mercury_code class.
--------------------------------------------------------------------------
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