aboutsummaryrefslogtreecommitdiffstats
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
commit9c427905cefddbb78797adf4956cc2da9c1c87ec (patch)
tree7c55647001857574e64a8b04abf6039c33d77270 /lib
parent8884788be78ac43ed8600ba8203b1f72ae20f7fe (diff)
downloadexternal_llvm-9c427905cefddbb78797adf4956cc2da9c1c87ec.zip
external_llvm-9c427905cefddbb78797adf4956cc2da9c1c87ec.tar.gz
external_llvm-9c427905cefddbb78797adf4956cc2da9c1c87ec.tar.bz2
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 bdb87f8..32e61a1 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 &&