mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +00:00
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68d57e7ae8
commit
107fb18d89
@ -144,7 +144,7 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &SCC) {
|
||||
bool Inliner::doFinalization(CallGraph &CG) {
|
||||
bool Changed = false;
|
||||
for (CallGraph::iterator I = CG.begin(), E = CG.end(); I != E; ) {
|
||||
CallGraphNode *CGN = (++I)->second;
|
||||
CallGraphNode *CGN = (I++)->second;
|
||||
Function *F = CGN ? CGN->getFunction() : 0;
|
||||
if (F && (F->hasLinkOnceLinkage() || F->hasInternalLinkage()) &&
|
||||
F->use_empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user