summaryrefslogtreecommitdiff
path: root/src/jit/inlinepolicy.cpp
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-08-20 17:08:18 -0700
committerEgor Chesakov <Egor.Chesakov@microsoft.com>2018-08-21 10:56:36 -0700
commitde7a416d55f309c36fd883e94d3263d60dc86e8c (patch)
tree6b87df765a8d2d6e47910c819eb02a06787fa9df /src/jit/inlinepolicy.cpp
parent5b844783ae804bafc3dac2fe9c1ab39784bab44e (diff)
downloadcoreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.tar.gz
coreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.tar.bz2
coreclr-de7a416d55f309c36fd883e94d3263d60dc86e8c.zip
Cleanup unnecessary casts in roundUp
Diffstat (limited to 'src/jit/inlinepolicy.cpp')
-rw-r--r--src/jit/inlinepolicy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/inlinepolicy.cpp b/src/jit/inlinepolicy.cpp
index 9cb534c18a..45dc96febc 100644
--- a/src/jit/inlinepolicy.cpp
+++ b/src/jit/inlinepolicy.cpp
@@ -780,7 +780,7 @@ int DefaultPolicy::DetermineCallsiteNativeSizeEstimate(CORINFO_METHOD_INFO* meth
callsiteSize += 10; // "lea EAX, bword ptr [EBP-14H]"
- unsigned opsz = (unsigned)(roundUp(comp->getClassSize(verType.GetClassHandle()), TARGET_POINTER_SIZE));
+ unsigned opsz = roundUp(comp->getClassSize(verType.GetClassHandle()), TARGET_POINTER_SIZE);
unsigned slots = opsz / TARGET_POINTER_SIZE;
callsiteSize += slots * 20; // "push gword ptr [EAX+offs] "