]> git.ipfire.org Git - thirdparty/valgrind.git/commit
iropt-test: Refactor code
authorFlorian Krohm <flo2030@eich-krohm.de>
Fri, 25 Jul 2025 21:11:57 +0000 (21:11 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Fri, 25 Jul 2025 21:11:57 +0000 (21:11 +0000)
commit5a159cf245ff4fec2fd148c899ce7a0380ca3d04
tree06d72e7506cae378b1407583d1c3a7f96618621c
parent1b5773d82046701f66697f68599acf0753db0402
iropt-test: Refactor code

Refactor code in preparation for running each testcase twice: once
with constant folding and once without.
- remove function print_opnd
- remove function complain
- factor out function get_expected_value
- checking the result moved to valgrind_execute_test
- make IRICB a static global in valgrind.c
- new_iricb now returns a pointer to it
none/tests/iropt-test/binary.c
none/tests/iropt-test/main.c
none/tests/iropt-test/unary.c
none/tests/iropt-test/util.c
none/tests/iropt-test/valgrind.c
none/tests/iropt-test/vtest.h