JIT: fix prejit entry PGO instrumentation (#49154)
authorAndy Ayers <andya@microsoft.com>
Sat, 6 Mar 2021 02:49:34 +0000 (18:49 -0800)
committerGitHub <noreply@github.com>
Sat, 6 Mar 2021 02:49:34 +0000 (18:49 -0800)
commit2338123c1c7a7471ebe8afa81719132d83a1b61b
tree5abf168e97f1a05e8bf477c3d9841eaa36451059
parent30206750ee5c56e7beb1563c37a4a2aeda1712dd
JIT: fix prejit entry PGO instrumentation (#49154)

Don't assume the entry block is `fgFirstBB`. Make sure to put the
entry probe in the scratch bb.

Closes #49108.
src/coreclr/jit/fgprofile.cpp