[m-rev.] for review: conditional structure reuse for LLDS backends

Zoltan Somogyi zs at csse.unimelb.edu.au
Tue Feb 12 14:06:52 AEDT 2008


On 12-Feb-2008, Peter Wang <novalazy at gmail.com> wrote:
> % Optimizing jumps for module_defines_label_with_layout/2 mode 0
> Uncaught Mercury exception:
> Software Error: map.det_insert: key already present
>         Key Type: ll_backend.llds.label
> 	Key Value: internal_label(2,
> ordinary_proc_label(qualified(unqualified("ll_backend"), "llds_out"),
> pf_predicate, qualified(unqualified("ll_backend"), "llds_out"),
> "module_defines_label_with_layout", 2, 0))
>         Value Type: maybe.maybe(ll_backend.llds.instruction)
> Stack dump not available in this grade.

If you specify --debug-opt-pred-name=module_defines_label_with_layout
as a command line option, the compiler will create the directory OptSubDir
and put the originally generated LLDS code and later optimized versions
of the LLDS code into files in that directory. That should make it clear
what the problem is.

Zoltan.
--------------------------------------------------------------------------
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