X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FLLVMContextImpl.h;h=6ea4b48e79b78635c2f649f7d9891695a0a0f70a;hb=6c3541d5597033bdb2f26f5ade811b482c32a39a;hp=4876f5d5075a894b7377630f81dd37306c7d2fbb;hpb=42a4ee0a35b4672311c1b988bd883167de9f88cd;p=oota-llvm.git diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h index 4876f5d5075..6ea4b48e79b 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/lib/VMCore/LLVMContextImpl.h @@ -115,7 +115,12 @@ public: class LLVMContextImpl { public: - void *InlineAsmDiagHandler, *InlineAsmDiagContext; + /// OwnedModules - The set of modules instantiated in this context, and which + /// will be automatically deleted if this context is deleted. + SmallPtrSet OwnedModules; + + LLVMContext::InlineAsmDiagHandlerTy InlineAsmDiagHandler; + void *InlineAsmDiagContext; typedef DenseMap IntMapTy; @@ -144,10 +149,6 @@ public: ConstantStruct, true /*largekey*/> StructConstantsTy; StructConstantsTy StructConstants; - typedef ConstantUniqueMap - UnionConstantsTy; - UnionConstantsTy UnionConstants; - typedef ConstantUniqueMap, VectorType, ConstantVector> VectorConstantsTy; VectorConstantsTy VectorConstants; @@ -174,6 +175,7 @@ public: const Type X86_FP80Ty; const Type FP128Ty; const Type PPC_FP128Ty; + const Type X86_MMXTy; const IntegerType Int1Ty; const IntegerType Int8Ty; const IntegerType Int16Ty; @@ -182,7 +184,7 @@ public: // Concrete/Abstract TypeDescriptions - We lazily calculate type descriptions // for types as they are needed. Because resolution of types must invalidate - // all of the abstract type descriptions, we keep them in a seperate map to + // all of the abstract type descriptions, we keep them in a separate map to // make this easy. TypePrinting ConcreteTypeDescriptions; TypePrinting AbstractTypeDescriptions; @@ -192,7 +194,6 @@ public: TypeMap PointerTypes; TypeMap FunctionTypes; TypeMap StructTypes; - TypeMap UnionTypes; TypeMap IntegerTypes; // Opaque types are not structurally uniqued, so don't use TypeMap.