[m-rev.] trivial diff: fix hlc.gc.memprof bootstrapping problem

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Sep 30 14:35:11 AEST 2011


Branches: main

Fix a problem that prevents the compiler bootstrapping the hlc.gc.memprof
grade.

library/par_builtin.m:
 	Fix the name and argument types of the hlc implementation of
 	lc_wait_free_slot/2.

Julien.

Index: library/par_builtin.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/par_builtin.m,v
retrieving revision 1.30
diff -u -r1.30 par_builtin.m
--- library/par_builtin.m	27 Sep 2011 00:49:26 -0000	1.30
+++ library/par_builtin.m	30 Sep 2011 04:30:39 -0000
@@ -338,7 +338,7 @@
  }

  void MR_CALL
-mercury__par_builtin__lc_wait_free_slot(MR_Box lc, MR_Box lcs)
+mercury__par_builtin__lc_wait_free_slot_2_p_0(MR_Box lc, MR_Box *lcs)
  {
      MR_fatal_error(""lc_wait_free_slot is unavailable with --highlevel-code"");
  }

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list