Found by inspection: By separating emit_post_landing_pad from the insertion of the code that's to follow the landing pad, we risk another landing pad being dropped in between. I don't have a test case for this. All of the other instances are correct. r~