[m-dev.] diff: fix code rot in constraint.m (alias branch)

David Overton dmo at cs.mu.OZ.AU
Fri May 21 13:02:09 AEST 1999


Estimated hours taken: 0.1

compiler/constraint.m:
	Obtain the InstMap and InstTable from the mode_info when they
	need to be passed to hlds_out__write_goal.

Index: constraint.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/constraint.m,v
retrieving revision 1.35.2.11
diff -u -r1.35.2.11 constraint.m
--- 1.35.2.11	1999/05/05 01:23:03
+++ constraint.m	1999/05/05 03:34:30
@@ -368,6 +368,8 @@
 	( semidet_succeed ->
 		mode_info_get_module_info(ModeInfo0, ModuleInfo),
 		mode_info_get_varset(ModeInfo0, VarSet),
+		mode_info_get_instmap(ModeInfo0, InstMap),
+		mode_info_get_inst_table(ModeInfo0, InstTable),
 		hlds_out__write_goal(Goal, InstMap, InstTable, ModuleInfo,
 			VarSet, no, Indent, "\n", IOState1, IOState)
 	;

-- 
David Overton       Department of Computer Science & Software Engineering
MEngSc Student      The University of Melbourne, Australia
+61 3 9344 9159     http://www.cs.mu.oz.au/~dmo
--------------------------------------------------------------------------
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