diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-05 23:16:16 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-05 23:16:16 +0000 |
commit | d7f2a6cb3fbc012763adb42fd967f6fefbb22a37 (patch) | |
tree | 0a2846e2b735aa45cedaa4266ffaa62786d07541 /lib/VMCore/LLVMContextImpl.h | |
parent | 70cd88fb7b5b77f8bbca7417e624d11b6e22a7e7 (diff) | |
download | llvm-d7f2a6cb3fbc012763adb42fd967f6fefbb22a37.tar.gz llvm-d7f2a6cb3fbc012763adb42fd967f6fefbb22a37.tar.bz2 llvm-d7f2a6cb3fbc012763adb42fd967f6fefbb22a37.tar.xz |
Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
-rw-r--r-- | lib/VMCore/LLVMContextImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/VMCore/LLVMContextImpl.h index 3ce1234adf..966f54b3e2 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/lib/VMCore/LLVMContextImpl.h @@ -132,6 +132,7 @@ struct LLVMContextImpl { TypeMap<VectorValType, VectorType> VectorTypes; TypeMap<PointerValType, PointerType> PointerTypes; TypeMap<FunctionValType, FunctionType> FunctionTypes; + TypeMap<StructValType, StructType> StructTypes; LLVMContextImpl() : TheTrueVal(0), TheFalseVal(0) { } }; |