kill_instruction() will only kill an OP_CALL corresponding to a pure function but this can't be testing if the call is not done directly via the function's symbols. These 2 patches fix this by using the function's type always available in the instruction itself. Luc Van Oostenryck (2): add helper first_symbol() fix testing if a OP_CALL's function is pure lib.h | 5 +++++ simplify.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) base-commit: 8f7e21cadc21f49819d003e560d4607d720c647f -- 2.29.0