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 | d2ed7457a184bdb8699f25e22f5cb8856c36bc5b (patch) | |
tree | 0a2846e2b735aa45cedaa4266ffaa62786d07541 /lib/VMCore/LLVMContextImpl.h | |
parent | 2267933252114a408c8b9448a85744b41a069ae9 (diff) | |
download | external_llvm-d2ed7457a184bdb8699f25e22f5cb8856c36bc5b.zip external_llvm-d2ed7457a184bdb8699f25e22f5cb8856c36bc5b.tar.gz external_llvm-d2ed7457a184bdb8699f25e22f5cb8856c36bc5b.tar.bz2 |
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 3ce1234..966f54b 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) { } }; |