JIT: relax method attribute assertion check in devirtualization (#11730)
authorAndy Ayers <andya@microsoft.com>
Fri, 19 May 2017 15:24:20 +0000 (08:24 -0700)
committerGitHub <noreply@github.com>
Fri, 19 May 2017 15:24:20 +0000 (08:24 -0700)
commitef108aed7ba01e916b3b13c78f4641d6df2c3919
tree71c915f5e65683179232dc10df62bec24e076a63
parent525e94134e21fe83ea7c34714d564ad3b8c2fe6b
JIT: relax method attribute assertion check in devirtualization (#11730)

The jit may see `CORINFO_FLG_DONT_INLINE` change between the time it
first reads a method's attributes and the time it re-reads it, since
jitting on some other thread may have deduced the method as noinline
in between the two reads. This bit doesn't affect devirtualization
and so the bit change is harmless.

Tolerate this by masking out this flag bit when comparing attributes.

No changes to generated code.

Closes #11619.
src/jit/importer.cpp