From: Owen Anderson Date: Thu, 5 Mar 2009 08:23:20 +0000 (+0000) Subject: (Hopefully) silence a warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a2bfb54e4dd671c5f9ef32cd91b7133d424d9ee4;p=oota-llvm.git (Hopefully) silence a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66158 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.