Instead of scanning the whole basic block for a POP, find the RET and then look backwards for the POP. Using getFirstTerminator, we can do this with less code and it's probably faster.
6.0 KiB
6.0 KiB