[m-dev.] for review: --stack-trace-higher-order

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 2 19:35:58 AEDT 1998


On 02-Nov-1998, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> >> compiler/llds_out.m:
> >>        Reorganize the way the way the initialization functions are generated,
> >>        by putting c_modules falling into different categories into different
> >>        bunches. c_module falling into the first category always have their
> >>        initialization code included, while those in the second category
> >>        have it included only if the old flag MR_MAY_NEED_INITIALIZATION
> >>        is set.
> > 
> > I think this won't have the intended effect, because if
> > MR_MAY_NEED_INITIALIZATION is not set, then the initialization
> > functions won't be called, even if they are included.
> 
> Which initialization functions won't be called from where?
...
> If you are worried about mercury__list__init itself not being called,

Yes, that is what I meant.

> you are right, by default it won't be. However, overriding that default
> is what the options to c2init are for.

Oh, OK, I see how it works now.

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