diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-21 20:13:12 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-21 20:13:12 +0000 |
commit | 39ede7b8d164f36c7c25ee291963c7d7dc363191 (patch) | |
tree | 35c362b1300fc39e4d4e78860f86cfecbd212041 /llvm/lib/VMCore/LLVMContext.cpp | |
parent | da9eda8ef65b06b640286b1913c597585d44177b (diff) | |
download | bcm5719-llvm-39ede7b8d164f36c7c25ee291963c7d7dc363191.tar.gz bcm5719-llvm-39ede7b8d164f36c7c25ee291963c7d7dc363191.zip |
Privatize the first of the value maps.
llvm-svn: 76634
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/VMCore/LLVMContext.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index 5e009ea6dff..782a87b04b0 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/lib/VMCore/LLVMContext.cpp @@ -167,7 +167,7 @@ Constant* LLVMContext::getConstantStruct(Constant* const *Vals, // ConstantAggregateZero accessors. ConstantAggregateZero* LLVMContext::getConstantAggregateZero(const Type* Ty) { - return ConstantAggregateZero::get(Ty); + return pImpl->getConstantAggregateZero(Ty); } @@ -649,3 +649,7 @@ void LLVMContext::erase(MDString *M) { void LLVMContext::erase(MDNode *M) { pImpl->erase(M); } + +void LLVMContext::erase(ConstantAggregateZero *Z) { + pImpl->erase(Z); +}
\ No newline at end of file |