for review: stack dumps.

Andrew Bromage bromage at cs.mu.OZ.AU
Wed Mar 4 17:11:47 AEDT 1998


G'day all.

Tyson Dowd wrote:

> > Could it try dumping the stack from the bottom up rather than
> > from the top down?
> 
> No, because there are no `succip's to follow upwards to find out what
> procedure was called. You'd have to add more information to the stack
> frame to be able to do this. 

As a matter of interest, do you know approximately how much slower
Mercury runs with the stack dump code in?  It might be worth leaving
it compiled in by default if it's not very much worse.

Cheers,
Andrew Bromage



More information about the developers mailing list