Add a missing closing parenthesis, and tweak to fit in 80
authorDuncan Sands <baldrick@free.fr>
Sun, 1 Nov 2009 19:12:43 +0000 (19:12 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 1 Nov 2009 19:12:43 +0000 (19:12 +0000)
columns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85732 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InlineCost.cpp

index 4f0b337807bc75be97d9520779beb2924930c8f3..bd9377bf87fbec2caa3ca07cd8dfeea6ea9d2403 100644 (file)
@@ -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()))