[m-rev.] diff: fix standard library build error

Paul Bone pbone at csse.unimelb.edu.au
Tue Sep 20 11:38:18 AEST 2011


On Tue, Sep 20, 2011 at 01:24:47AM +1000, Julien Fischer wrote:
> 
> Branches: main
> 
> Fix a linking problem in the standrard library in the hlc.gc.memprof grade.
> The external predicate par_builtin.lc_finish/1 lacks a definition in the hlc
> grades, but in profiling grades we take its address.
> 
> library/par_builtin.m:
> 	Add a dummy definition of lc_finish/1 for when --highlevel-code
> 	is enabled.
> 

Why do we take it's address?

It's only useful in low-level C parallel grades.  And I havn't added the
transformation to the compiler that would make use of it?  Is it because it is
declared in the interface?

Thanks for fixing this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20110920/fd7aa4a0/attachment.sig>


More information about the reviews mailing list