summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-11-01 19:12:43 +0000
committerDuncan Sands <baldrick@free.fr>2009-11-01 19:12:43 +0000
commitf25d3013114064df073f1b96684c1c38c1a028a1 (patch)
tree8a83bd1920a7f021f519f13a280849ec1e632593 /llvm/lib
parent649f4e9e8f69bafc0b06a420c8e650fa047de91a (diff)
downloadbcm5719-llvm-f25d3013114064df073f1b96684c1c38c1a028a1.tar.gz
bcm5719-llvm-f25d3013114064df073f1b96684c1c38c1a028a1.zip
Add a missing closing parenthesis, and tweak to fit in 80
columns. llvm-svn: 85732
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/InlineCost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 4f0b337807b..bd9377bf87f 100644
--- a/llvm/lib/Analysis/InlineCost.cpp
+++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -160,8 +160,8 @@ void CodeMetrics::analyzeBasicBlock(const BasicBlock *BB) {
++NumRets;
// We never want to inline functions that contain an indirectbr. This is
- // incorrect because all the blockaddress's (e.g. in static global
- // initializers would be referring to the original function, and this indirect
+ // incorrect because all the blockaddress's (in static global initializers
+ // for example) would be referring to the original function, and this indirect
// jump would jump from the inlined copy of the function into the original
// function which is extremely undefined behavior.
if (isa<IndirectBrInst>(BB->getTerminator()))
OpenPOWER on IntegriCloud