1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Silencing a -Wsign-compare warning; NFC.

llvm-svn: 237794
This commit is contained in:
Aaron Ballman 2015-05-20 14:53:50 +00:00
parent a5a6fe72e1
commit 61af0b4fda

View File

@ -1877,7 +1877,7 @@ chainToBasePointerCost(SmallVectorImpl<Instruction*> &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.