summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-04 23:33:01 +0000
committerOwen Anderson <resistor@mac.com>2009-08-04 23:33:01 +0000
commit542cffc3eb6a9b899a8605a43b45867ac2c51ba6 (patch)
treefa3c5332a14d648dc0c6d9ca60b1c227aff20c7c /llvm/lib/VMCore/LLVMContextImpl.h
parent298bce2aa965e38781d9132666fc0e25f949130a (diff)
downloadbcm5719-llvm-542cffc3eb6a9b899a8605a43b45867ac2c51ba6.tar.gz
bcm5719-llvm-542cffc3eb6a9b899a8605a43b45867ac2c51ba6.zip
Begin the process of privatizing the type uniquing tables. No API changes yet, but there will be in the near future.
llvm-svn: 78122
Diffstat (limited to 'llvm/lib/VMCore/LLVMContextImpl.h')
-rw-r--r--llvm/lib/VMCore/LLVMContextImpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h
index 5a3056ad8fe..5e027cb907f 100644
--- a/llvm/lib/VMCore/LLVMContextImpl.h
+++ b/llvm/lib/VMCore/LLVMContextImpl.h
@@ -16,6 +16,7 @@
#define LLVM_LLVMCONTEXT_IMPL_H
#include "ConstantsContext.h"
+#include "TypesContext.h"
#include "llvm/LLVMContext.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
@@ -127,6 +128,8 @@ struct LLVMContextImpl {
ConstantInt *TheTrueVal;
ConstantInt *TheFalseVal;
+ TypeMap<ArrayValType, ArrayType> ArrayTypes;
+
LLVMContextImpl() : TheTrueVal(0), TheFalseVal(0) { }
};
OpenPOWER on IntegriCloud