[m-rev.] for review: more info in procedure body representations

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Apr 3 20:46:25 AEST 2002


On 03-Apr-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> +++ browser/program_representation.m	2002/04/03 02:56:41
> @@ -42,6 +42,12 @@
>  	% Each element of this structure will correspond one-to-one
>  	% to the original stage 90 HLDS.
>  
> +:- type proc_rep
> +	--->	proc_rep(
> +			list(var_rep),		% The head variables, in order.
> +			goal_rep		% The procedure body.
> +		).

It might be useful to document whether this list is supposed
to include introduced type-info variables or not.

> +++ compiler/continuation_info.m	2002/04/03 03:03:11
> @@ -92,6 +92,8 @@
>  					% rN register that can contain useful
>  					% information during a call to MR_trace
>  					% from within this procedure.
> +			head_vars	:: list(prog_var),
> +					% The head variables, in order.

Likewise here.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  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