mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
09a60ac9fe
commit
3bed5b46ba
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user