Fix desktop build break
authorCarol Eidt <carol.eidt@microsoft.com>
Wed, 23 May 2018 15:02:59 +0000 (08:02 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Wed, 23 May 2018 15:02:59 +0000 (08:02 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/3fa689df0e56da296c2819c991c4bcfd7195f846

src/coreclr/src/jit/lsrabuild.cpp

index e962b1e..ba42745 100644 (file)
@@ -2393,7 +2393,7 @@ RefPosition* LinearScan::BuildDef(GenTree* tree, regMaskTP dstCandidates, int mu
 void LinearScan::BuildDefs(GenTree* tree, int dstCount, regMaskTP dstCandidates)
 {
     bool fixedReg = false;
-    if ((dstCount > 1) && (dstCandidates != RBM_NONE) && (genCountBits(dstCandidates) == dstCount))
+    if ((dstCount > 1) && (dstCandidates != RBM_NONE) && ((int)genCountBits(dstCandidates) == dstCount))
     {
         fixedReg = true;
     }