[m-rev.] trivial diff: fix MR_grade bug in last change
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Aug 22 01:33:58 AEST 2002
Sorry, I should have checked that my MPS changes didn't break the
existing grades. The following problem caused link errors
(with MR_grade_* undefined) in *.gc grades.
Estimated hours taken: 0.25
Branches: main
scripts/mgnuc.in:
Fix a bug in my previous change: handle the case where $gc_method
is `boehm' rather than `conservative', and pass -DMR_BOEHM_GC
as well as -DMR_CONSERVATIVE_GC.
Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: scripts/mgnuc.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/mgnuc.in,v
retrieving revision 1.88
diff -u -d -r1.88 mgnuc.in
--- scripts/mgnuc.in 20 Aug 2002 10:40:43 -0000 1.88
+++ scripts/mgnuc.in 21 Aug 2002 15:24:19 -0000
@@ -309,9 +309,9 @@
esac
case $gc_method in
- accurate) GC_OPTS="-DMR_NATIVE_GC" ;;
- conservative) GC_OPTS="-DMR_CONSERVATIVE_GC" ;;
- none) GC_OPTS="" ;;
+ accurate) GC_OPTS="-DMR_NATIVE_GC" ;;
+ boehm|conservative) GC_OPTS="-DMR_BOEHM_GC -DMR_CONSERVATIVE_GC" ;;
+ none) GC_OPTS="" ;;
esac
case $profile_time in
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list