[llvm-commits] [llvm] r85732 - /llvm/trunk/lib/Analysis/InlineCost.cpp
Duncan Sands
baldrick at free.fr
Sun Nov 1 11:12:44 PST 2009
Author: baldrick
Date: Sun Nov 1 13:12:43 2009
New Revision: 85732
URL: http://llvm.org/viewvc/llvm-project?rev=85732&view=rev
Log:
Add a missing closing parenthesis, and tweak to fit in 80
columns.
Modified:
llvm/trunk/lib/Analysis/InlineCost.cpp
Modified: llvm/trunk/lib/Analysis/InlineCost.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InlineCost.cpp?rev=85732&r1=85731&r2=85732&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InlineCost.cpp (original)
+++ llvm/trunk/lib/Analysis/InlineCost.cpp Sun Nov 1 13:12:43 2009
@@ -160,8 +160,8 @@
++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()))
More information about the llvm-commits
mailing list