diff options
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 |

