generate_drop_prev shouldn't apply its optimization to arbitrary opcodes
returning void since some may be mutating.