Fix signed/unsigned comparison warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-28 04:49:43 +00:00
parent 09a60ac9fe
commit 3bed5b46ba

View File

@ -109,7 +109,7 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) {
GlobalDSNode *FGDN = cast<GlobalDSNode>(CN->getArgValues(0)[0].Node); GlobalDSNode *FGDN = cast<GlobalDSNode>(CN->getArgValues(0)[0].Node);
Function *F = cast<Function>(FGDN->getGlobal()); Function *F = cast<Function>(FGDN->getGlobal());
if (NumInlines++ == InlineLimit) { // CUTE hack huh? if ((int)NumInlines++ == InlineLimit) { // CUTE hack huh?
cerr << "Infinite (?) recursion halted\n"; cerr << "Infinite (?) recursion halted\n";
cerr << "Not inlining: " << F->getName() << "\n"; cerr << "Not inlining: " << F->getName() << "\n";
CN->dump(); CN->dump();