diff options
author | Andy Ayers <andya@microsoft.com> | 2016-07-26 14:19:20 -0700 |
---|---|---|
committer | Andy Ayers <andya@microsoft.com> | 2016-07-26 14:19:20 -0700 |
commit | 43e5f18ff826058a4de71491a378e5b94ecec919 (patch) | |
tree | a2df4832e52c35154e93a48b6f2738d1712e1977 /src/jit/compiler.h | |
parent | f1b03b6a6f993331acc1da40b0e630348a3abaea (diff) | |
download | coreclr-43e5f18ff826058a4de71491a378e5b94ecec919.tar.gz coreclr-43e5f18ff826058a4de71491a378e5b94ecec919.tar.bz2 coreclr-43e5f18ff826058a4de71491a378e5b94ecec919.zip |
Rewrite gtIsVtableAccess to avoid assert
Calling `HasIndex` from `gtIsVtableAccess` can leads to asserts as the
underly code checks to see if the addressing sub-expressions are
contained. But earlyProp runs early enough that it is not concerned with
containment. The code just needs to verify that there is a ref type base
and no index. Rework the code to do the checks directly.
Diffstat (limited to 'src/jit/compiler.h')
0 files changed, 0 insertions, 0 deletions