[llvm-commits] [llvm] r94256 - /llvm/trunk/lib/Analysis/DebugInfo.cpp
Victor Hernandez
vhernandez at apple.com
Fri Jan 22 16:03:29 PST 2010
Author: hernande
Date: Fri Jan 22 18:03:28 2010
New Revision: 94256
URL: http://llvm.org/viewvc/llvm-project?rev=94256&view=rev
Log:
Make sure ValueFn starts off empty
Modified:
llvm/trunk/lib/Analysis/DebugInfo.cpp
Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=94256&r1=94255&r2=94256&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri Jan 22 18:03:28 2010
@@ -599,7 +599,7 @@
//===----------------------------------------------------------------------===//
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 &&
More information about the llvm-commits
mailing list