[m-dev.] for review: new debugger command set (part 1 of 4)

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Oct 2 17:34:26 AEST 1998


On 01-Oct-1998, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> BUG FIX: WANT RETURN LAYOUTS
> 
> compiler/globals.m:
> compiler/call_gen.m:
> compiler/code_info.m:
> compiler/mercury_compile.m:
> 	Add a new pred globals__want_return_layouts, which says whether the
> 	compiler should generate layout structures for call returns. This pred
> 	centralizes the several previous copies of the test. One of those
> 	copies (the one in call_gen) was faulty, leading to a bug: in the
> 	presence of execution tracing but the absence of accurate gc,
> 	information about the variables that are live at the call return
> 	wasn't being gathered properly.

That change looks fine.

(The only glitch was that the relevant change to mercury_compile.m
wasn't labelled as corresponding to this change.)

-- 
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