projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b62944
)
silence warnings in a release build
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Jul 2006 21:48:57 +0000
(21:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Jul 2006 21:48:57 +0000
(21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29189
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/InlineFunction.cpp
b/lib/Transforms/Utils/InlineFunction.cpp
index c6f5075f6403b13e3228940e5a09e9eeeaba87fa..7b97646c190c613ac3ef8391db6064e3f0c004b3 100644
(file)
--- a/
lib/Transforms/Utils/InlineFunction.cpp
+++ b/
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);