From: Pat Gavlin Date: Fri, 28 Jul 2017 16:06:41 +0000 (-0700) Subject: PR feedback. X-Git-Tag: accepted/tizen/base/20180629.140029~1083^2~47^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b5f36ba2d5dfac777645ac3918406767ab87ee7;p=platform%2Fupstream%2Fcoreclr.git PR feedback. --- diff --git a/src/jit/regalloc.cpp b/src/jit/regalloc.cpp index c1c9fb3..f9aa344 100644 --- a/src/jit/regalloc.cpp +++ b/src/jit/regalloc.cpp @@ -6257,7 +6257,8 @@ void Compiler::rpPredictRegUse() #ifdef _TARGET_ARM_ // See if we previously reserved REG_R10 and try to make it available if we have a small frame now - if ((rpPasses == 0) && ((codeGen->regSet.rsMaskResvd & RBM_OPT_RSVD) != 0) && !compRsvdRegCheck(REGALLOC_FRAME_LAYOUT)) + if ((rpPasses == 0) && ((codeGen->regSet.rsMaskResvd & RBM_OPT_RSVD) != 0) && + !compRsvdRegCheck(REGALLOC_FRAME_LAYOUT)) { // We can release our reservation on R10 and use it to color registers codeGen->regSet.rsMaskResvd &= ~RBM_OPT_RSVD; @@ -6461,7 +6462,7 @@ void Compiler::rpPredictRegUse() #ifdef _TARGET_ARM_ // The spill count may be now high enough that we now need to reserve r10. If this is the case, we'll need to - // reservation r10 and if it was used repredict. + // reserve r10, and if it was used, repredict. if (((codeGen->regSet.rsMaskResvd & RBM_OPT_RSVD) == 0) && compRsvdRegCheck(REGALLOC_FRAME_LAYOUT)) { codeGen->regSet.rsMaskResvd |= RBM_OPT_RSVD;