summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 04:49:43 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 04:49:43 +0000
commit503a3fcb42c16c70164ae01721dae566d0fdadee (patch)
treea298353da3cd60b66d1adab7fa3f5dca3f71da8d /llvm/lib/Analysis/DataStructure/ComputeClosure.cpp
parent17e72e9bc38875e2903da3bc699fae01802ec46b (diff)
downloadbcm5719-llvm-503a3fcb42c16c70164ae01721dae566d0fdadee.tar.gz
bcm5719-llvm-503a3fcb42c16c70164ae01721dae566d0fdadee.zip
Fix signed/unsigned comparison warning
llvm-svn: 2350
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/ComputeClosure.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/ComputeClosure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp b/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp
index 501fd0c3d91..f4345fae801 100644
--- a/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp
+++ b/llvm/lib/Analysis/DataStructure/ComputeClosure.cpp
@@ -109,7 +109,7 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) {
GlobalDSNode *FGDN = cast<GlobalDSNode>(CN->getArgValues(0)[0].Node);
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 << "Not inlining: " << F->getName() << "\n";
CN->dump();
OpenPOWER on IntegriCloud