Fix incorrect usage of ILCodeVersion::AsNode (issue dotnet/coreclr#18602) (dotnet...
authorNoah Falk <noahfalk@users.noreply.github.com>
Sat, 23 Jun 2018 02:14:15 +0000 (19:14 -0700)
committerGitHub <noreply@github.com>
Sat, 23 Jun 2018 02:14:15 +0000 (19:14 -0700)
commit253b0e721608a9fe99b437323f61fb0ce3db5975
tree314c2c4774b01b064f8c7caf81e9a3df3daf1cf1
parent125a82308dd607406fd32da868d3ea8e4c9a261f
Fix incorrect usage of ILCodeVersion::AsNode (issue dotnet/coreclr#18602) (dotnet/coreclr#18606)

When the debugger is querying the active rejit IL for an IL method that has not been rejitted it incorrectly creates a VMPTR_ILCodeVersionNode for a code version that shouldn't have one.

Commit migrated from https://github.com/dotnet/coreclr/commit/67af5834bf890632fe975fa27cae35c8404e726e
src/coreclr/src/debug/daccess/dacdbiimpl.cpp
src/coreclr/src/vm/codeversion.cpp