From: Victor Hernandez Date: Sat, 23 Jan 2010 00:03:28 +0000 (+0000) Subject: Make sure ValueFn starts off empty X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=06203127a7815df8aa63849995536fa467aeba93;p=oota-llvm.git Make sure ValueFn starts off empty git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94256 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index bdb87f84f6a..32e61a17234 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 &&