From cc3dffb51950edd719ff018cbf7f8314676c9384 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 20 May 2015 14:53:50 +0000 Subject: [PATCH] Silencing a -Wsign-compare warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237794 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1