projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f3261
)
Fix desktop build break
author
Carol Eidt
<carol.eidt@microsoft.com>
Wed, 23 May 2018 15:02:59 +0000
(08:02 -0700)
committer
Carol 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
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/lsrabuild.cpp
b/src/coreclr/src/jit/lsrabuild.cpp
index
e962b1e
..
ba42745
100644
(file)
--- a/
src/coreclr/src/jit/lsrabuild.cpp
+++ b/
src/coreclr/src/jit/lsrabuild.cpp
@@
-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;
}