aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/InlineCost.cpp
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
commitb046964101e0f7f2ddce153a53953504c83bffd8 (patch)
tree04be0cd9ff4efcd7863da1828008b5cde1d91c50 /lib/Analysis/InlineCost.cpp
parentc92712184faf007afa28503da77e9a962dceb8cc (diff)
downloadexternal_llvm-b046964101e0f7f2ddce153a53953504c83bffd8.zip
external_llvm-b046964101e0f7f2ddce153a53953504c83bffd8.tar.gz
external_llvm-b046964101e0f7f2ddce153a53953504c83bffd8.tar.bz2
Add a missing closing parenthesis, and tweak to fit in 80
columns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InlineCost.cpp')
-rw-r--r--lib/Analysis/InlineCost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/InlineCost.cpp b/lib/Analysis/InlineCost.cpp
index 4f0b337..bd9377b 100644
--- a/lib/Analysis/InlineCost.cpp
+++ b/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()))