summaryrefslogtreecommitdiff
path: root/src/jit/lsra.cpp
diff options
context:
space:
mode:
authorPhil Garcia <phil@thinkedge.com>2018-06-29 10:33:35 -0700
committerStephen Toub <stoub@microsoft.com>2018-06-29 13:33:35 -0400
commitd6950568c83269002a41f204400dcb82ced96e14 (patch)
treeda61e8f61907867e7aa6c08db1ad81390810b011 /src/jit/lsra.cpp
parentc209f0bf2b0eb5bc6e0a35253457e2f9919f28dc (diff)
downloadcoreclr-d6950568c83269002a41f204400dcb82ced96e14.tar.gz
coreclr-d6950568c83269002a41f204400dcb82ced96e14.tar.bz2
coreclr-d6950568c83269002a41f204400dcb82ced96e14.zip
Corrected a few typos in the documentation and comments (#18706)
* Corrected a few typos in the documentation and comments * Corrected a few typos in the documentation and comments * Corrected a few typos in the documentation and comments * Corrected a few typos in the documentation and comments * Corrected a few typos in the documentation and comments * Corrected a few typos in the documentation and comments
Diffstat (limited to 'src/jit/lsra.cpp')
-rw-r--r--src/jit/lsra.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp
index 537aa06835..a4ce963f28 100644
--- a/src/jit/lsra.cpp
+++ b/src/jit/lsra.cpp
@@ -869,7 +869,7 @@ void LinearScan::setBlockSequence()
// the blocks - but fgBBcount does not appear to be updated when blocks are removed.
if (nextBlock == nullptr /* && bbSeqCount != compiler->fgBBcount*/ && !verifiedAllBBs)
{
- // If we don't encounter all blocks by traversing the regular sucessor links, do a full
+ // If we don't encounter all blocks by traversing the regular successor links, do a full
// traversal of all the blocks, and add them in layout order.
// This may include:
// - internal-only blocks (in the fgAddCodeList) which may not be in the flow graph
@@ -5590,7 +5590,7 @@ void LinearScan::allocateRegisters()
// There MUST be caller-save registers available, because they have all just been killed.
// Amd64 Windows: xmm4-xmm5 are guaranteed to be available as xmm0-xmm3 are used for passing args.
- // Amd64 Unix: xmm8-xmm15 are guaranteed to be avilable as xmm0-xmm7 are used for passing args.
+ // Amd64 Unix: xmm8-xmm15 are guaranteed to be available as xmm0-xmm7 are used for passing args.
// X86 RyuJIT Windows: xmm4-xmm7 are guanrateed to be available.
assert(assignedRegister != REG_NA);
@@ -5598,7 +5598,7 @@ void LinearScan::allocateRegisters()
// Note:
// i) The reason we have to spill is that SaveDef position is allocated after the Kill positions
// of the call node are processed. Since callee-trash registers are killed by call node
- // we explicity spill and unassign the register.
+ // we explicitly spill and unassign the register.
// ii) These will look a bit backward in the dump, but it's a pain to dump the alloc before the
// spill).
unassignPhysReg(getRegisterRecord(assignedRegister), currentRefPosition);
@@ -5776,7 +5776,7 @@ void LinearScan::allocateRegisters()
// Arguments:
// reg - register to be updated
// interval - interval to be assigned
-// regType - regsiter type
+// regType - register type
//
// Return Value:
// None
@@ -5816,7 +5816,7 @@ void LinearScan::updateAssignedInterval(RegRecord* reg, Interval* interval, Regi
// Arguments:
// reg - register to be updated
// interval - interval to be assigned
-// regType - regsiter type
+// regType - register type
//
// Return Value:
// None
@@ -8112,7 +8112,7 @@ void LinearScan::resolveEdge(BasicBlock* fromBlock,
if (genIsValidDoubleReg(fromReg))
{
// Ensure that either:
- // - the Interval targetting fromReg is not double, or
+ // - the Interval targeting fromReg is not double, or
// - the other half of the double is free.
Interval* otherInterval = sourceIntervals[source[fromReg]];
regNumber upperHalfReg = REG_NEXT(fromReg);