summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-23 00:03:28 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-23 00:03:28 +0000
commit06203127a7815df8aa63849995536fa467aeba93 (patch)
tree7c55647001857574e64a8b04abf6039c33d77270 /lib
parent42dae2d5ba0c22bed65e80ac56a7c304de911c33 (diff)
downloadllvm-06203127a7815df8aa63849995536fa467aeba93.tar.gz
llvm-06203127a7815df8aa63849995536fa467aeba93.tar.bz2
llvm-06203127a7815df8aa63849995536fa467aeba93.tar.xz
Make sure ValueFn starts off empty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index bdb87f84f6..32e61a1723 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/lib/Analysis/DebugInfo.cpp
@@ -599,7 +599,7 @@ void DIVariable::dump() const {
//===----------------------------------------------------------------------===//
DIFactory::DIFactory(Module &m)
- : M(m), VMContext(M.getContext()), DeclareFn(0) {}
+ : M(m), VMContext(M.getContext()), DeclareFn(0), ValueFn(0) {}
Constant *DIFactory::GetTagConstant(unsigned TAG) {
assert((TAG & LLVMDebugVersionMask) == 0 &&