Commit Graph

3 Commits

Author SHA1 Message Date
Fergus Henderson
0a26fd6129 Rename time.m as benchmarking.m.
library/time.m:
library/benchmarking.m:
	Rename time.m as benchmarking.m.

library/library.m.in:
library/io.m:
tests/hard_coded/error_func.m:
	Change `import_module' declarations to import benchmarking.m
	instead of time.m.

NEWS:
	s/time.m/benchmarking.m/
1997-07-28 10:08:00 +00:00
Simon Taylor
2eab07e9a0 Changed the determinism of main/2 to cc_multi, since
Estimated hours taken: 0.001

tests/hard_coded/error_func.m
	Changed the determinism of main/2 to cc_multi, since
	it calls benchmark_det, which is now cc_multi.
1997-07-17 04:21:12 +00:00
Fergus Henderson
b2473d1eff When inlining calls, use the goalinfo from the body of
Estimated hours taken: 4

compiler/inlining.m:
	When inlining calls, use the goalinfo from the body of
	the callee rather than the goalinfo from the call.
	This avoids some bugs which resulted from mismatches
	between the goal and its goalinfo; for example, the
	old code could lead to nondet unifications, or to calls
	to error/1 that don't have instmap delta going to unreachable.

tests/hard_coded/Mmake:
tests/hard_coded/error_func.m:
tests/hard_coded/error_func.exp:
	Regression test for the above change.
1997-07-09 08:21:09 +00:00