[m-dev.] demangling of deforestation procedures
Simon Taylor
stayl at cs.mu.OZ.AU
Wed Apr 28 12:52:32 AEST 1999
> I think your recent change broke the Mercury profiler's demangling of
> deforestation procedures. The file test_mercury_murlibobo.out contains
> the following lines:
>
> - [4] <deforestation procedure (#0) from poly:'poly_exp' line 224>
> + [4] mercury__poly__DeforestationIn__224__0__pred__poly_exp_3_0
>
> Could you please investigate this one further?
Estimated hours taken: 0.25
compiler/prog_util.m:
Undo the part of my previous change to make_pred_name_with_context
which reordered some elements of the generated name.
Index: prog_util.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/prog_util.m,v
retrieving revision 1.44
diff -u -u -r1.44 prog_util.m
--- prog_util.m 1999/04/23 01:03:01 1.44
+++ prog_util.m 1999/04/28 02:21:49
@@ -354,7 +354,7 @@
),
string__format("%s__%s__%s__%s",
- [s(Prefix), s(PredIdStr), s(PFS), s(PredName)], Name),
+ [s(Prefix), s(PFS), s(PredName), s(PredIdStr)], Name),
SymName = qualified(ModuleName, Name).
:- pred list_to_string(pred(T, string), list(T), string).
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list