Files
mercury/tests/hard_coded/dupcall_impurity.exp
Fergus Henderson cc100bcfb2 Enable the --optimize-duplicate-calls' option at -O2',
Branches: main
Estimated hours taken: 1

compiler/options.m:
	Enable the `--optimize-duplicate-calls' option at `-O2',
	like we used to do, since the bug that required it to be
	disabled has long since been fixed
	(it was fixed since 1999/06/30, when we moved the
	polymorphism.m pass to occur before mode analysis).

compiler/common.m:
	Add a comment to clarify the interface.

tests/hard_coded/Mmakefile:
tests/hard_coded/dupcall_impurity.m:
tests/hard_coded/dupcall_impurity.exp:
	Add a test case to test that duplicate call optimization
	doesn't mis-optimize impure calls.
2001-12-06 10:16:44 +00:00

5 lines
8 B
Plaintext