From: Steve MacLean Date: Fri, 3 Nov 2017 15:20:13 +0000 (-0400) Subject: [Arm64] SIMD applyCalleeSaveHeuristics X-Git-Tag: accepted/tizen/base/20180629.140029~648^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=755d2667ac03716f88d5207760a493572bc56848;p=platform%2Fupstream%2Fcoreclr.git [Arm64] SIMD applyCalleeSaveHeuristics --- diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 6580264..01a6604 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -721,9 +721,9 @@ void LinearScan::applyCalleeSaveHeuristics(RefPosition* rp) Interval* theInterval = rp->getInterval(); #ifdef DEBUG - regMaskTP calleeSaveMask = calleeSaveRegs(getRegisterType(theInterval, rp)); if (doReverseCallerCallee()) { + regMaskTP calleeSaveMask = calleeSaveRegs(theInterval->registerType); rp->registerAssignment = getConstrainedRegMask(rp->registerAssignment, calleeSaveMask, rp->minRegCandidateCount); }