Remove assert validating intrinsic expansion on mustExpand
authorMichal Strehovský <michals@microsoft.com>
Thu, 14 Jul 2016 22:26:20 +0000 (15:26 -0700)
committerMichal Strehovský <michals@microsoft.com>
Thu, 14 Jul 2016 22:26:20 +0000 (15:26 -0700)
commit23d664c18425a185541e8e6085c0dc91324508bb
tree0e9d75c283a73ea0235b9d620ae3d5640b9516e0
parent1cd5841afb92d57de7051d6740e699f6a000eb0a
Remove assert validating intrinsic expansion on mustExpand

The assert is incorrect. Consider expansion of
CORINFO_INTRINSIC_RTH_GetValueInternal, where the RuntimeTypeHandle was
created through a generic lookup helper call. The intrinsic expansion of
this sequence becomes the generic lookup helper call on it's own.

Commit migrated from https://github.com/dotnet/coreclr/commit/f063377de71efdba671832772507c1997bb3a046
src/coreclr/src/jit/importer.cpp