[m-dev.] Trail registers

Fergus Henderson fjh at cs.mu.oz.au
Fri Sep 12 12:22:03 AEST 1997


Thomas Charles CONWAY, you wrote:
> 
> Is there any reason that the trail pointer is not treated like a
> normal virtual machine register?

Not particularly -- the only thing is that the trail pointer and ticket
counter are only used `#if MR_USE_TRAILING'.

It seemed nicer to keep them in mercury_trail.h, so that all the trailing
stuff is together, but with the re-entrant version, it probably makes more
sense for them to go in regorder.h.

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