Fix an issue with recycle-tc
commit4780f19f39fd1d6a87143c9e1a546eb1988348d8
authorMark Williams <mwilliams@fb.com>
Sat, 6 Aug 2016 23:55:28 +0000 (6 16:55 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Mon, 8 Aug 2016 17:46:42 +0000 (8 10:46 -0700)
tree3e4eb237c6a0e1ea5c4a8eb09783258bdda1d8ee
parentd6d4af2d3d73c6889d2d2730b1dedd3778c8e821
Fix an issue with recycle-tc

Summary:
The code to remove a jmp from the jmpToTransID map relied on actually
finding a jmp, but it could be a nop instead. One of the recycle-tc
tests started failing on one of my diffs because of this.

Reviewed By: paulbiss

Differential Revision: D3681299

fbshipit-source-id: 7cd2a97c3d929939c3509244e21bbbfa02c55ed2
hphp/runtime/vm/jit/prof-data.h
hphp/runtime/vm/jit/recycle-tc.cpp