mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Compulsive reformatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e179b31bfc
commit
86d49563a6
@ -141,8 +141,11 @@ bool InternalizePass::runOnModule(Module &M) {
|
||||
!I->hasLocalLinkage() && // Can't already have internal linkage
|
||||
!ExternalNames.count(I->getName())) {// Not marked to keep external?
|
||||
I->setLinkage(GlobalValue::InternalLinkage);
|
||||
// Remove a callgraph edge from the external node to this function.
|
||||
if (ExternalNode) ExternalNode->removeOneAbstractEdgeTo((*CG)[I]);
|
||||
|
||||
if (ExternalNode)
|
||||
// Remove a callgraph edge from the external node to this function.
|
||||
ExternalNode->removeOneAbstractEdgeTo((*CG)[I]);
|
||||
|
||||
Changed = true;
|
||||
++NumFunctions;
|
||||
DEBUG(dbgs() << "Internalizing func " << I->getName() << "\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user