mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user