[m-dev.] diff: bug fix for -DGC_DEBUG
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Oct 5 06:32:59 AEST 1999
Estimated hours taken: 2
runtime/mercury_wrapper.c:
Use GC_REGISTER_DISPLACEMENT() rather than
GC_register_displacement(), so that it works
correctly when GC_DEBUG is defined.
Workspace: hg:/d-drive/home/hg/fjh/mercury
Index: mercury_wrapper.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_wrapper.c,v
retrieving revision 1.43
diff -u -u -r1.43 mercury_wrapper.c
--- mercury_wrapper.c 1999/09/27 05:20:53 1.43
+++ mercury_wrapper.c 1999/10/04 20:29:47
@@ -266,7 +266,7 @@
int i;
for (i = 1; i < (1 << TAGBITS); i++) {
- GC_register_displacement(i);
+ GC_REGISTER_DISPLACEMENT(i);
}
}
#endif
--
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