Files
mercury/tests/hard_coded/deep_copy_bug.exp
Fergus Henderson 245976353d Fix some bugs in lambda.m.
Estimated hours taken: 4

Fix some bugs in lambda.m.

compiler/lambda.m:
	Fix a bug: in some cases (the cases when it avoided
	introducing a new predicate), lambda.m was not setting
	the `address_taken' field correctly.

	A fix for the MLDS back-end: the optimization of
	assuming that the calling convention for `model_det'
	is compatible with the calling convention for `model_non'
	is not valid if the `--high-level-code' option is set.

	Update an obsolete comment.

compiler/hlds_pred.m:
	Add a new predicate `proc_info_set_address_taken',
	for use by lambda.m.

tests/hard_coded/deep_copy_bug.m:
tests/hard_coded/deep_copy_bug.exp:
	Add some more regression tests to test the
	above-mentioned bugs.
2000-02-08 15:08:12 +00:00

4 lines
169 B
Plaintext

[var(1), var(2), var(3), var(4), var(5), var(6), var(7), var(8), var(9), var(10)]
[var(1), var(2), var(3), var(4), var(5), var(6), var(7), var(8), var(9), var(10)]
[42]