aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-06 00:44:45 +0000
committerChris Lattner <sabre@nondot.org>2010-04-06 00:44:45 +0000
commit42a4ee0a35b4672311c1b988bd883167de9f88cd (patch)
tree23bf03c56675755812d88886e30c4e3a661f2519 /lib/VMCore/LLVMContextImpl.cpp
parentf778b57fc58178aebeb5bd97f576c1e00f725db8 (diff)
downloadexternal_llvm-42a4ee0a35b4672311c1b988bd883167de9f88cd.zip
external_llvm-42a4ee0a35b4672311c1b988bd883167de9f88cd.tar.gz
external_llvm-42a4ee0a35b4672311c1b988bd883167de9f88cd.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.cpp3
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);