summaryrefslogtreecommitdiff
path: root/src/jit/lsra.cpp
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-06-29 17:18:38 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-06-29 17:18:38 -0700
commit2d67ab00478aaf2957b36d62de5a8526e65b4c56 (patch)
tree937fb0fad03cb4321026a8279ac855373c609d9e /src/jit/lsra.cpp
parent365b48a50a379916bc7543488db73d892f39ce30 (diff)
downloadcoreclr-2d67ab00478aaf2957b36d62de5a8526e65b4c56.tar.gz
coreclr-2d67ab00478aaf2957b36d62de5a8526e65b4c56.tar.bz2
coreclr-2d67ab00478aaf2957b36d62de5a8526e65b4c56.zip
Format code.
Diffstat (limited to 'src/jit/lsra.cpp')
-rw-r--r--src/jit/lsra.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp
index 6792be501b..7cebffa7c6 100644
--- a/src/jit/lsra.cpp
+++ b/src/jit/lsra.cpp
@@ -3943,12 +3943,13 @@ void LinearScan::buildRefPositionsForNode(GenTree* tree,
// if tree nodes are eventually allowed to be multiply-used), then the removal is only
// correct at the last use.
LocationInfoList operandDefs;
- bool removed = operandToLocationInfoMap.TryRemove(operand, &operandDefs);
+ bool removed = operandToLocationInfoMap.TryRemove(operand, &operandDefs);
assert(removed);
assert(!operandDefs.IsEmpty());
LocationInfoListNode* const operandDefsEnd = operandDefs.End();
- for (LocationInfoListNode* operandDefsIterator = operandDefs.Begin(); operandDefsIterator != operandDefsEnd; operandDefsIterator = operandDefsIterator->Next())
+ for (LocationInfoListNode* operandDefsIterator = operandDefs.Begin(); operandDefsIterator != operandDefsEnd;
+ operandDefsIterator = operandDefsIterator->Next())
{
LocationInfo& locInfo = *static_cast<LocationInfo*>(operandDefsIterator);
@@ -4047,7 +4048,8 @@ void LinearScan::buildRefPositionsForNode(GenTree* tree,
// Explicitly insert a FixedRefPosition and fake the candidates, because otherwise newRefPosition
// will complain about the types not matching.
regNumber physicalReg = genRegNumFromMask(fixedAssignment);
- RefPosition* pos = newRefPosition(physicalReg, currentLoc, RefTypeFixedReg, nullptr, fixedAssignment);
+ RefPosition* pos =
+ newRefPosition(physicalReg, currentLoc, RefTypeFixedReg, nullptr, fixedAssignment);
}
pos = newRefPosition(i, currentLoc, RefTypeUse, useNode, allRegs(i->registerType),
multiRegIdx DEBUG_ARG(minRegCountForUsePos));