[mercury-users] foreign_code

Simon Taylor stayl at cs.mu.OZ.AU
Fri Feb 21 11:03:03 AEDT 2003


On 21-Feb-2003, Michael Day <mikeday at yeslogic.com> wrote:
> When building with intermodule optimisation, are foreign_code pragmas
> sometimes duplicated?

No. `foreign_proc' pragmas will be duplicated when they are inlined,
and `foreign_decl' pragmas will be #included wherever the `foreign_proc'
pragmas could be inlined, but `foreign_code' pragmas should only
occur once in the generated code.

Simon.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list