diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-06 00:44:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-06 00:44:45 +0000 |
commit | 472ed0e878e9e153a449ba1beee983b2b4f3234b (patch) | |
tree | 23bf03c56675755812d88886e30c4e3a661f2519 /lib/VMCore/LLVMContextImpl.cpp | |
parent | 59946385a5dbcf2d6dd76ce8176808a25812bf3f (diff) | |
download | external_llvm-472ed0e878e9e153a449ba1beee983b2b4f3234b.zip external_llvm-472ed0e878e9e153a449ba1beee983b2b4f3234b.tar.gz external_llvm-472ed0e878e9e153a449ba1beee983b2b4f3234b.tar.bz2 |
give LLVMContext an inline asm diagnostic hook member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.cpp')
-rw-r--r-- | lib/VMCore/LLVMContextImpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/LLVMContextImpl.cpp b/lib/VMCore/LLVMContextImpl.cpp index b4553dd..e71157f 100644 --- a/lib/VMCore/LLVMContextImpl.cpp +++ b/lib/VMCore/LLVMContextImpl.cpp @@ -30,6 +30,9 @@ LLVMContextImpl::LLVMContextImpl(LLVMContext &C) Int32Ty(C, 32), Int64Ty(C, 64), AlwaysOpaqueTy(new OpaqueType(C)) { + InlineAsmDiagHandler = 0; + InlineAsmDiagContext = 0; + // Make sure the AlwaysOpaqueTy stays alive as long as the Context. AlwaysOpaqueTy->addRef(); OpaqueTypes.insert(AlwaysOpaqueTy); |