Track catch blocks' SrcKey instead of PC in store-elim
Summary:
Function bodies will soon contain code emitted at FuncEntry positions, which do
not have any associated PC. They may contain instructions with catch blocks,
such as CheckSurpriseAndStack. Store-elim tracks PC of BeginCatch instructions,
which won't work, so track SrcKey instead. PC is later obtained by InlineCall
and InlineReturn opcodes, but we don't have these in catch blocks of top level
functions, so this is safe.
Reviewed By: ricklavoie
Differential Revision:
D29288231
fbshipit-source-id:
9e23b7ada5fb4046465a59f28bb68a5877991dc8