for review: print out inst on alias branch
Peter Ross
petdr at cs.mu.OZ.AU
Mon Nov 2 15:12:52 AEDT 1998
Hi,
Dave could you please review this change?
Pete.
===================================================================
Estimated hours taken: 0.5
compiler/hlds_out.m:
When printing out an instmap_delta, use the inst_key_subn stored in
the instmap_delta, rather then it being empty.
Index: hlds_out.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/hlds_out.m,v
retrieving revision 1.172.2.18
diff -u -r1.172.2.18 hlds_out.m
--- hlds_out.m 1998/10/30 01:23:37 1.172.2.18
+++ hlds_out.m 1998/11/02 04:08:18
@@ -1788,8 +1788,11 @@
( { instmap_delta_is_unreachable(InstMapDelta) } ->
io__write_string("unreachable")
;
- { instmap_delta_to_assoc_list(InstMapDelta, AssocList) },
- { instmap__init_reachable(InstMap) }, % YYY
+ { instmap__init_reachable(InstMap0) }, % YYY
+ { instmap__apply_instmap_delta(InstMap0, InstMapDelta,
+ InstMap) },
+ { instmap__to_assoc_list(InstMap, AssocList) },
+
hlds_out__write_instmap_2(AssocList, VarSet, AppendVarnums,
Indent, InstMap, InstTable)
).
----
+----------------------------------------------------------------------+
| Peter Ross M Sci/Eng Melbourne Uni |
| petdr at cs.mu.oz.au WWW: www.cs.mu.oz.au/~petdr/ ph: +61 3 9344 9158 |
+----------------------------------------------------------------------+
More information about the developers
mailing list