Privatize the PointerType factory.
[oota-llvm.git] / lib / VMCore / LLVMContextImpl.h
index a92b571f699d9f630d7b8c7dbff75c6c44c75a11..993b155d40974c07e743c58e72ddae92b1597fb3 100644 (file)
@@ -130,6 +130,7 @@ struct LLVMContextImpl {
   
   TypeMap<ArrayValType, ArrayType> ArrayTypes;
   TypeMap<VectorValType, VectorType> VectorTypes;
+  TypeMap<PointerValType, PointerType> PointerTypes;
   
   LLVMContextImpl() : TheTrueVal(0), TheFalseVal(0) { }
 };