[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp
Chris Lattner
sabre at nondot.org
Sun Feb 11 11:12:34 PST 2007
Changes in directory llvm/lib/VMCore:
Value.cpp updated: 1.64 -> 1.65
---
Log message:
fix uninitialized variable
---
Diffs of the changes: (+1 -0)
Value.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.64 llvm/lib/VMCore/Value.cpp:1.65
--- llvm/lib/VMCore/Value.cpp:1.64 Sat Feb 10 19:04:09 2007
+++ llvm/lib/VMCore/Value.cpp Sun Feb 11 13:12:18 2007
@@ -93,6 +93,7 @@
}
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())
More information about the llvm-commits
mailing list