diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-13 23:27:32 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-13 23:27:32 +0000 |
commit | a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1 (patch) | |
tree | a6e4594b64450c9cbe6bfdbea5769076e2ca2097 /llvm/lib/VMCore/LLVMContext.cpp | |
parent | 590a7c780caa2429349d364923ca55d5f3bd3e6b (diff) | |
download | bcm5719-llvm-a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1.tar.gz bcm5719-llvm-a42ac6953be3cd9ff25310c9dcb51f3df0e2f6e1.zip |
Actually privatize a IntegerTypes, and fix a few bugs exposed by this.
llvm-svn: 78955
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/VMCore/LLVMContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index aa9dc3671a0..95ceeaee813 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/lib/VMCore/LLVMContext.cpp @@ -27,7 +27,7 @@ LLVMContext& llvm::getGlobalContext() { return *GlobalContext; } -LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl()) { } +LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { } LLVMContext::~LLVMContext() { delete pImpl; } GetElementPtrConstantExpr::GetElementPtrConstantExpr |