Remove bogus fgCurHeapDef guard
authorJoseph Tremoulet <jotrem@microsoft.com>
Wed, 11 Jan 2017 20:59:29 +0000 (15:59 -0500)
committerJoseph Tremoulet <jotrem@microsoft.com>
Wed, 11 Jan 2017 20:59:29 +0000 (15:59 -0500)
commit4f0b9a464127e9973ad7748c49c02d0e4027d6b9
tree6f2c94bcc6f63020ce7a9931160ef237c64f5f01
parent64c18a7f59015e177d7861b7a34117a8917f5921
Remove bogus fgCurHeapDef guard

We should set fgCurHeapUse when visiting a heap use regardless of whether
fgCurHeapDef is set, because we haven't proven that the def writes all
memory that the use might read.  This should have been included in dotnet/coreclr#8757
but somehow slipped through.

Commit migrated from https://github.com/dotnet/coreclr/commit/334cf4e004367b8c0c717fe3974ae008ecec0f62
src/coreclr/src/jit/liveness.cpp