diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-07-06 07:00:03 -0700 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2018-07-06 07:00:03 -0700 |
commit | 025a975e67b9069c62a62803ed5e51588db128bf (patch) | |
tree | e63847f66e721152aceb6f01d33faee48893ec91 /src/jit/lsra.cpp | |
parent | 7222c56c42be22ecb0b61ce2d49e3e916ecdadb6 (diff) | |
download | coreclr-025a975e67b9069c62a62803ed5e51588db128bf.tar.gz coreclr-025a975e67b9069c62a62803ed5e51588db128bf.tar.bz2 coreclr-025a975e67b9069c62a62803ed5e51588db128bf.zip |
Don't change PUTARG_REG type on arm64
Fix #18746
Diffstat (limited to 'src/jit/lsra.cpp')
-rw-r--r-- | src/jit/lsra.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 01192b26e3..0b1375b26f 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -6446,6 +6446,7 @@ void LinearScan::updateMaxSpill(RefPosition* refPosition) { typ = treeNode->AsPutArgSplit()->GetRegType(refPosition->getMultiRegIdx()); } +#if !defined(_TARGET_64BIT_) else if (treeNode->OperIsPutArgReg()) { // For double arg regs, the type is changed to long since they must be passed via `r0-r3`. @@ -6453,6 +6454,7 @@ void LinearScan::updateMaxSpill(RefPosition* refPosition) var_types typNode = treeNode->TypeGet(); typ = (typNode == TYP_LONG) ? TYP_INT : typNode; } +#endif // !_TARGET_64BIT_ #endif // FEATURE_ARG_SPLIT else { |