summaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-05-15 10:04:30 +0000
committerGabor Greif <ggreif@gmail.com>2008-05-15 10:04:30 +0000
commitb1dbcd886a4b5597a839f299054b78b33fb2d6df (patch)
treead561cfaa4f194770a4167e80e26ec2bbb99f956 /lib/Transforms/Utils/InlineFunction.cpp
parent4054ae0b250bf1527646f96cf46f95caa3651129 (diff)
downloadexternal_llvm-b1dbcd886a4b5597a839f299054b78b33fb2d6df.zip
external_llvm-b1dbcd886a4b5597a839f299054b78b33fb2d6df.tar.gz
external_llvm-b1dbcd886a4b5597a839f299054b78b33fb2d6df.tar.bz2
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 6c96785..2ed335c 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -532,7 +532,8 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD) {
GR->eraseFromParent();
}
} else {
- PHINode *PHI = PHINode::Create(RTy, TheCall->getName(), AfterCallBB->begin());
+ PHINode *PHI = PHINode::Create(RTy, TheCall->getName(),
+ AfterCallBB->begin());
PHIs.push_back(PHI);
// Anything that used the result of the function call should now use the
// PHI node as their operand.