Commit Graph

4 Commits

Author SHA1 Message Date
Fergus Henderson
a207687b4c Change some code so that a division is executed only *after*
Estimated hours taken: 0.5

compiler/lp.m:
	Change some code so that a division is executed only *after*
	checking that the divisor is non-zero.  Without this change,
	the code crashed when doing a bootcheck in grade hlc.gc (in
	particular when doing termination analysis for library/array.m).
2000-11-18 08:50:43 +00:00
Fergus Henderson
73131e8df3 Undo Zoltan's bogus update of all the copyright dates.
Estimated hours taken: 0.75

library/*.m:
compiler/*.m:
	Undo Zoltan's bogus update of all the copyright dates.
	The dates in the copyright header should reflect the years
	in which the file was modified (and no, changes to the
	copyright header itself don't count as modifications).
1998-01-23 12:57:08 +00:00
Zoltan Somogyi
bb4442ddc1 Update copyright dates for 1998.
Estimated hours taken: 0.5

compiler/*.m:
	Update copyright dates for 1998.
1998-01-13 10:06:08 +00:00
Thomas Conway
3c3e5fbda2 Modify termination analysis to use a linear inequation solver
Estimated hours taken: 35

Modify termination analysis to use a linear inequation solver
written in Mercury rather than invoking an external 3rd party one.

compiler/term_pass1.m:
	Remove all the code for writing out the system of equations,
	invoking the solver and parsing the output.
	Add code to convert the system of equations into the format
	expected by the solver, and call the solver.

compiler/term_errors.m:
	the 'lpsolve_failed' constructor goes from arity 1 to arity 0.
	modify the output of error messages accordingly.

compiler/lp.m:
	NEW file. Contains the linear inequation solver based on
	the standard simplex method.
1997-10-20 04:12:41 +00:00