mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 11:46:42 +00:00
Fix typeo
llvm-svn: 13089
This commit is contained in:
parent
15eb3c1f39
commit
ade6ddc694
@ -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