Fix Arm64 crossgen
authorCarol Eidt <carol.eidt@microsoft.com>
Fri, 19 Aug 2016 19:14:28 +0000 (12:14 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 19 Aug 2016 20:32:18 +0000 (13:32 -0700)
commitd534b7611934298b3b405b306dcdb63fcb53bc18
treea969a28e207dcba280c3d00fdf2976bbbfedb00f
parentc7460c724c7b6c5511505e1b5bee81e6aea63109
Fix Arm64 crossgen

The type of the ADDR node needs to be set to TYP_BYREF for arm64.
For x64/ux, oddly, it requires the struct type. I added a TODO-Cleanu8p
comment because a GT_ADDR should never be TYP_STRUCT.

Commit migrated from https://github.com/dotnet/coreclr/commit/1ca8b494fe38145f04753adc341d965f2bb328d6
src/coreclr/src/jit/morph.cpp