fix condition to align method at 32 bytes (#42909)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Wed, 7 Oct 2020 18:02:14 +0000 (11:02 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Oct 2020 18:02:14 +0000 (11:02 -0700)
commit03a09319b76879f99e462314f744a25832d47977
treef0e04abd1dfb1472b272a2e431f0d8cfcf68b234
parent65a27aa018ee2b49a7c2f939a024992e8f23a18d
fix condition to align method at 32 bytes (#42909)

In #2249, we started doing alignment of methods to 32-byte boundary for Tier1. However, a method having loops bypass tiering and hence this condition was never executed. Fixed it to make sure we do the alignment for optimized methods only and don't do it for prejitted methods.
src/coreclr/src/jit/emit.cpp