[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 18 14:49:10 PDT 2006



Changes in directory llvm/lib/Transforms/Utils:

InlineFunction.cpp updated: 1.45 -> 1.46
---
Log message:

silence warnings in a release build


---
Diffs of the changes:  (+1 -1)

 InlineFunction.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Utils/InlineFunction.cpp
diff -u llvm/lib/Transforms/Utils/InlineFunction.cpp:1.45 llvm/lib/Transforms/Utils/InlineFunction.cpp:1.46
--- llvm/lib/Transforms/Utils/InlineFunction.cpp:1.45	Wed Jul 12 16:37:11 2006
+++ llvm/lib/Transforms/Utils/InlineFunction.cpp	Tue Jul 18 16:48:57 2006
@@ -275,7 +275,7 @@
 
     // If we are preserving the callgraph, add edges to the stacksave/restore
     // functions for the calls we insert.
-    CallGraphNode *StackSaveCGN, *StackRestoreCGN, *CallerNode;
+    CallGraphNode *StackSaveCGN = 0, *StackRestoreCGN = 0, *CallerNode = 0;
     if (CG) {
       StackSaveCGN    = CG->getOrInsertFunction(StackSave);
       StackRestoreCGN = CG->getOrInsertFunction(StackRestore);






More information about the llvm-commits mailing list