mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
Estimated hours taken: 1
Branches: main
compiler/jumpopt.m:
Fix a very old bug with --checked-nondet-tailcall that caused a call
instruction to not be preceded by a livevals instruction. This violated
an invariant of the LLDS and caused livemap.m to throw an exception.
tests/hard_coded/checked_nondet_tailcall_noinline.{m,exp}:
Add this copy of the checked_nondet_tailcall test case.
tests/hard_coded/Mercury.options:
Compile checked_nondet_tailcall_noinline with --no-inlining, which
used to expose the bug.
tests/hard_coded/Mmakefile:
Enable the new test case.
6 lines
23 B
Plaintext
6 lines
23 B
Plaintext
18 19
|
|
21 22
|
|
31
|
|
41
|
|
|