Bug 1026139 - Fix patching already patched frames in debug mode OSR. (r=jandem)
Bug 1026139 - Test. (r=jimb)