[llvm-commits] [llvm] r66158 - /llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Owen Anderson
resistor at mac.com
Thu Mar 5 00:23:20 PST 2009
Author: resistor
Date: Thu Mar 5 02:23:20 2009
New Revision: 66158
URL: http://llvm.org/viewvc/llvm-project?rev=66158&view=rev
Log:
(Hopefully) silence a warning.
Modified:
llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Modified: llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp?rev=66158&r1=66157&r2=66158&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp Thu Mar 5 02:23:20 2009
@@ -1015,7 +1015,7 @@
MachineBasicBlock* MBB,
int SS,
SmallPtrSet<MachineInstr*, 4>& RefsInMBB) {
- if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == NumRestoreFolds)
+ if ((int)RestoreFoldLimit != -1 && RestoreFoldLimit == (int)NumRestoreFolds)
return 0;
// Go top down if RefsInMBB is empty.
More information about the llvm-commits
mailing list