mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 03:43:51 +00:00
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.
5 lines
8 B
Plaintext
5 lines
8 B
Plaintext
0
|
|
1
|
|
2
|
|
3
|