[llvm] r189697 - Compulsive reformatting.
Bill Wendling
isanbard at gmail.com
Fri Aug 30 14:07:34 PDT 2013
Author: void
Date: Fri Aug 30 16:07:33 2013
New Revision: 189697
URL: http://llvm.org/viewvc/llvm-project?rev=189697&view=rev
Log:
Compulsive reformatting.
Modified:
llvm/trunk/lib/Transforms/IPO/Internalize.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Internalize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Internalize.cpp?rev=189697&r1=189696&r2=189697&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Internalize.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Internalize.cpp Fri Aug 30 16:07:33 2013
@@ -141,8 +141,11 @@ bool InternalizePass::runOnModule(Module
!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");
More information about the llvm-commits
mailing list