From 4ffd7c453a7b580698209f1c33e223a815b76da5 Mon Sep 17 00:00:00 2001 From: Lubomir Litchev Date: Mon, 2 Mar 2015 16:28:32 -0800 Subject: [PATCH] More typo fixes. --- src/jit/lclvars.cpp | 3 --- src/jit/lsra.cpp | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp index a591cde..7fdaf88 100644 --- a/src/jit/lclvars.cpp +++ b/src/jit/lclvars.cpp @@ -3990,7 +3990,6 @@ void Compiler::lvaAssignVirtualFrameOffsetsToArgs() argSize, argOffs); #endif // !UNIX_AMD64_ABI - ); argLcls++; // Early out if we can. If size is 8 and base reg is 2, then the mask is 0x1100 @@ -4023,7 +4022,6 @@ void Compiler::lvaAssignVirtualFrameOffsetsToArgs() eeGetArgSize(argLst, &info.compMethodInfo->args), argOffs); #endif // !UNIX_AMD64_ABI - ); argLcls++; } argLst = info.compCompHnd->getArgNext(argLst); @@ -4058,7 +4056,6 @@ void Compiler::lvaAssignVirtualFrameOffsetsToArgs() #else // !UNIX_AMD64_ABI argOffs = lvaAssignVirtualFrameOffsetToArg(lclNum++, sizeof(void *), argOffs); #endif // !UNIX_AMD64_ABI - ); } if (info.compIsVarArgs) diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index f418877..0a4d705 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -2650,8 +2650,8 @@ LinearScan::buildKillPositionsForNode(GenTree* tree, } else { - // If there are no calleeSaved registers, the call could kill all the registers. - // This is a valid state, so in that case assert should not trigger. The RA will spill to free a register later. + // If there are no callee-saved registers, the call could kill all the registers. + // This is a valid state, so in that case assert should not trigger. The RA will spill in order to free a register later. assert(compiler->opts.compDbgEnC || (calleeSaveRegs(varDsc->lvType)) == RBM_NONE); } } -- 2.7.4