JIT: make sure to use normalized type when retyping box temp (#20285)
authorAndy Ayers <andya@microsoft.com>
Sat, 6 Oct 2018 18:05:24 +0000 (11:05 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Oct 2018 18:05:24 +0000 (11:05 -0700)
commit8e880c667e999aa7d9da8d7ea30c2db92e419ba0
tree103da9fc4a994fb3a9df11600d8a4ae0c5be2180
parent6b412b2eab5c06499c66553beffbd3f3c12d3ed7
JIT: make sure to use normalized type when retyping box temp (#20285)

Take advantage of the fact that `lvaSetStruct` figures out the right
type to use in the IR.

Fixes first part of #20260.
src/jit/gentree.cpp
tests/src/JIT/Regression/JitBlue/GitHub_20260/GitHub_20260.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_20260/GitHub_20260.csproj [new file with mode: 0644]