From: Devang Patel Date: Thu, 15 Dec 2011 17:55:56 +0000 (+0000) Subject: Virtual table holder field is either metadata or null. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9642c57ac5a6991cbd06d02f790c478eb3071ad3;p=oota-llvm.git Virtual table holder field is either metadata or null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146665 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DIBuilder.cpp b/lib/Analysis/DIBuilder.cpp index ed3e8f4b4ee..85dcc467eef 100644 --- a/lib/Analysis/DIBuilder.cpp +++ b/lib/Analysis/DIBuilder.cpp @@ -777,7 +777,7 @@ DISubprogram DIBuilder::createFunction(DIDescriptor Context, ConstantInt::get(Type::getInt1Ty(VMContext), isDefinition), ConstantInt::get(Type::getInt32Ty(VMContext), 0), ConstantInt::get(Type::getInt32Ty(VMContext), 0), - llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)), + NULL, ConstantInt::get(Type::getInt32Ty(VMContext), Flags), ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), Fn,