Only break Profile translations on existing SrcRecs
commit2ebde0a697acf15c7234e56acb383de9d5cf79aa
authorMark Williams <mwilliams@fb.com>
Tue, 15 May 2018 16:57:57 +0000 (15 09:57 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 15 May 2018 17:24:11 +0000 (15 10:24 -0700)
tree1aa162d893490c7b00481a546d3a0abf88e0c702
parent4dcfc5cc1c04ac802c00d5e86f31c62f5e8e4da2
Only break Profile translations on existing SrcRecs

Summary:
Breaking Optimize translations was causing us to miss inlining
oppotunities, and also making the behavior inconistent between regular
retranslateAll, and retranslateAll after deserialize (where there are
no existing translations).

Reviewed By: ottoni

Differential Revision: D7993567

fbshipit-source-id: 1c2e339f933853634db4296bc49d38519eca89eb
hphp/runtime/vm/jit/region-tracelet.cpp