JIT: fix issue with assertion prop on isinst helpers (#23056)
authorAndy Ayers <andya@microsoft.com>
Wed, 6 Mar 2019 18:14:40 +0000 (10:14 -0800)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2019 18:14:40 +0000 (10:14 -0800)
commit5ce4140ca10cdda9af170d5215ff9de295c58a30
tree8d617c00299c180dc8e51014f06cadb285d03fbb
parentb7922721dc7298094da3f4c2bcf31b43fde9476b
JIT: fix issue with assertion prop on isinst helpers (#23056)

For calls to isinst helpers, morph may rearrange the order of args on the late
arg list, so examine the operands to ensure the right ones are passed into the
assertion creation code.

Added simplified test case.

Closes #23039.
src/jit/assertionprop.cpp
tests/src/JIT/Regression/JitBlue/GitHub_23039/GitHub_23039.il [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_23039/GitHub_23039.ilproj [new file with mode: 0644]