[llvm-commits] CVS: llvm/lib/Transforms/IPO/InlineSimple.cpp
    Tanya Lattner 
    tonic at nondot.org
       
    Thu Jun  7 10:12:38 PDT 2007
    
    
  
Changes in directory llvm/lib/Transforms/IPO:
InlineSimple.cpp updated: 1.84 -> 1.85
---
Log message:
Formating fixes.
---
Diffs of the changes:  (+4 -4)
 InlineSimple.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Transforms/IPO/InlineSimple.cpp
diff -u llvm/lib/Transforms/IPO/InlineSimple.cpp:1.84 llvm/lib/Transforms/IPO/InlineSimple.cpp:1.85
--- llvm/lib/Transforms/IPO/InlineSimple.cpp:1.84	Wed Jun  6 16:59:26 2007
+++ llvm/lib/Transforms/IPO/InlineSimple.cpp	Thu Jun  7 12:12:16 2007
@@ -291,12 +291,12 @@
   // Get llvm.noinline
   GlobalVariable *GV = M.getNamedGlobal("llvm.noinline");
   
-  if(GV == 0)
+  if (GV == 0)
     return false;
 
   const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
   
-  if(InitList == 0)
+  if (InitList == 0)
     return false;
 
   // Iterate over each element and add to the NeverInline set
@@ -310,8 +310,8 @@
         Elt = CE->getOperand(0);
     
     // Insert into set of functions to never inline
-    if(const Function *f = dyn_cast<Function>(Elt))
-      NeverInline.insert(f);
+    if (const Function *F = dyn_cast<Function>(Elt))
+      NeverInline.insert(F);
   }
   
   return false;
    
    
More information about the llvm-commits
mailing list