From: Aaron Ballman Date: Wed, 20 May 2015 14:53:50 +0000 (+0000) Subject: Silencing a -Wsign-compare warning; NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cc3dffb51950edd719ff018cbf7f8314676c9384;p=oota-llvm.git Silencing a -Wsign-compare warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237794 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 505070552c1..06ade397cfa 100644 --- a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -1877,7 +1877,7 @@ chainToBasePointerCost(SmallVectorImpl &Chain, static void rematerializeLiveValues(CallSite CS, PartiallyConstructedSafepointRecord &Info, TargetTransformInfo &TTI) { - const int ChainLengthThreshold = 10; + const unsigned int ChainLengthThreshold = 10; // Record values we are going to delete from this statepoint live set. // We can not di this in following loop due to iterator invalidation.