[BOLT] Fix bug in SCTC
Summary: After SCTC optimization fixDoubleJumps() was relying on CFG information on the number of successors of a basic block. It ignored the fact that conditional tail call had a successor outside of the function and deleted a containing basic block. Discovered while testing old HHVM with disabled jump tables. (cherry picked from FBD5752903)
Loading
Please sign in to comment