[m-dev.] for review: trace executable sizes

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 12 19:33:31 AEDT 1999


On 12-Nov-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> Reduce the size of traced executables slightly.
> 
> runtime/mercury_stack_layout.h:
> 	Change the type of three fields of proc layouts from MR_int_least16_t
> 	MR_int_least8_t, since all three are the numbers of initially allocated
> 	stack slots. They are thus guaranteed to be less than 10, and thus
> 	fit into 8 bits with plenty to spare.
> 
> compiler/stack_layout.m:
> 	Make the corresponding change when generating proc layouts.

That looks fine.

-- 
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.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list