From a2bfb54e4dd671c5f9ef32cd91b7133d424d9ee4 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 5 Mar 2009 08:23:20 +0000 Subject: [PATCH] (Hopefully) silence a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66158 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PreAllocSplitting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index 89e8cabd751..581320a3961 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/lib/CodeGen/PreAllocSplitting.cpp @@ -1015,7 +1015,7 @@ MachineInstr* PreAllocSplitting::FoldRestore(unsigned vreg, MachineBasicBlock* MBB, int SS, SmallPtrSet& RefsInMBB) { - if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == NumRestoreFolds) + if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == (int)NumRestoreFolds) return 0; // Go top down if RefsInMBB is empty. -- 2.34.1