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:
360cac8
)
fix uninitialized variable
author
Chris Lattner
<sabre@nondot.org>
Sun, 11 Feb 2007 19:12:18 +0000
(19:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 11 Feb 2007 19:12:18 +0000
(19:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34182
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index 30ca5c35b5f1e99b8111afeaa223a40ced9eec3f..17610f9bc78a55440cce9dc372c87387e84bfdd6 100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
lib/VMCore/Value.cpp
@@
-93,6
+93,7
@@
unsigned Value::getNumUses() const {
}
static bool getSymTab(Value *V, ValueSymbolTable *&ST) {
+ ST = 0;
if (Instruction *I = dyn_cast<Instruction>(V)) {
if (BasicBlock *P = I->getParent())
if (Function *PP = P->getParent())