Fix VSO 359733. (#8803)
authorPat Gavlin <pgavlin@gmail.com>
Wed, 4 Jan 2017 23:30:13 +0000 (15:30 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2017 23:30:13 +0000 (15:30 -0800)
commit4af7d40e0eeaa961f55ea8abff2eb03fc5dcdd56
tree8068b6ff58095337d06e949185daa927a818d0c5
parentc4972463338d49481373219fa35b13c872a880ed
Fix VSO 359733. (#8803)

* Fix VSO 359733.

This bug was an assertion when extracting side effects that failed when
checking that the presence or absence of value numbers on the head of
the side effect list matched the presence or absence of value numbers on
the node being added to the list. This condition does not hold when
remorphing, as remorphing may create nodes without value numbers. In
this case, the new comma node will have no value numbers for
conservative correctness. The failing assertion was weakened to allow
the presence/absence of value numbers on the head of the list and the
node being added to differ during remorphing.
src/jit/gentree.cpp
tests/src/JIT/Regression/JitBlue/DevDiv_359733/DevDiv_359733.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/DevDiv_359733/DevDiv_359733.ilproj [new file with mode: 0644]