summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-18 21:48:57 +0000
committerChris Lattner <sabre@nondot.org>2006-07-18 21:48:57 +0000
commitfea3974133c4799991c776fc996b20a2775df0ae (patch)
treef1f3e3f53f176aa47e86ab518e7f80c5761bdc9c /llvm/lib/Transforms/Utils
parentf9bafae741434f407fcf1a05e28651c5e7a55567 (diff)
downloadbcm5719-llvm-fea3974133c4799991c776fc996b20a2775df0ae.tar.gz
bcm5719-llvm-fea3974133c4799991c776fc996b20a2775df0ae.zip
silence warnings in a release build
llvm-svn: 29189
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index c6f5075f640..7b97646c190 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -275,7 +275,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG) {
// 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);
OpenPOWER on IntegriCloud