diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-08-20 17:08:18 -0700 |
---|---|---|
committer | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-08-21 10:56:36 -0700 |
commit | de7a416d55f309c36fd883e94d3263d60dc86e8c (patch) | |
tree | 6b87df765a8d2d6e47910c819eb02a06787fa9df /src/jit/lsra.cpp | |
parent | 5b844783ae804bafc3dac2fe9c1ab39784bab44e (diff) | |
download | coreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.tar.gz coreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.tar.bz2 coreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.zip |
Cleanup unnecessary casts in roundUp
Diffstat (limited to 'src/jit/lsra.cpp')
-rw-r--r-- | src/jit/lsra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 867858459d..11a119b2fe 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -1809,7 +1809,7 @@ void LinearScan::initVarRegMaps() // The compiler memory allocator requires that the allocation be an // even multiple of int-sized objects unsigned int varCount = compiler->lvaTrackedCount; - regMapCount = (unsigned int)roundUp(varCount, sizeof(int)); + regMapCount = roundUp(varCount, (unsigned)sizeof(int)); // Not sure why blocks aren't numbered from zero, but they don't appear to be. // So, if we want to index by bbNum we have to know the maximum value. |