Fix change to fgMorphBlockOperand
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 9 Jan 2018 23:56:25 +0000 (15:56 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Thu, 11 Jan 2018 00:38:04 +0000 (16:38 -0800)
commit06055495d96093502deae21c33134338229f6554
tree08140c8dbf8cc2a02c3f8fd7a51541def1904779
parent55bb222db872ef42ae771967ba45d94326f34d73
Fix change to fgMorphBlockOperand

My recent fix broke the `DYN_BLK` case. In addition to checking that types match, we *still* need to check that the sizes match.

This was caught by desktop testing. The test cases are somewhat complex, so I created a smaller repro.
src/jit/morph.cpp
tests/src/JIT/Methodical/xxblk/dynblk.il [new file with mode: 0644]
tests/src/JIT/Methodical/xxblk/dynblk_il_d.ilproj [new file with mode: 0644]
tests/src/JIT/Methodical/xxblk/dynblk_il_r.ilproj [new file with mode: 0644]