Fix for issue 5954 - Assert 'fieldSeq != FieldSeqStore::NotAField()'
authorBrian Sullivan <briansul@microsoft.com>
Tue, 2 Aug 2016 18:24:10 +0000 (11:24 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Wed, 3 Aug 2016 22:21:42 +0000 (15:21 -0700)
commit5966ce3f683a0945760e2f3cb5056d1662e64c9d
tree4b86555558037c0eaef40c17c6526e360fc5795c
parentc6821c1a26567fa8a5f632602296423b7c875c5e
Fix for issue 5954 - Assert 'fieldSeq != FieldSeqStore::NotAField()'

Added new method GenTree:OperIsLocalField()
Fixes DefinesLocalAddress to properly update pIsEntire when we have a LocalField node type
Fixed fgValueNumberBlockAssignment to handle a GT_COPYBLK or GT_COPYOBJ operation
  where we have an incomplete field sequence for the Dst/LHS node.
  We already were handling an incomplete field sequence for the Src/RHS node.
  Update the dump to properly print "new uniq" whenever we issue a conservative value number.

Commit migrated from https://github.com/dotnet/coreclr/commit/7611127a4f7757952ff0433ec386d8bb3d55d8f1
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/liveness.cpp
src/coreclr/src/jit/valuenum.cpp