diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-31 21:35:40 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-31 21:35:40 +0000 |
commit | 0087fe6e5cdc677063a28ce42205ffefbd1ab191 (patch) | |
tree | 90f14b4a060302a3a13505655173c20adb8a5c88 /llvm/lib/VMCore/LLVMContext.cpp | |
parent | 0d5f37b81ab79103e5dd4ca46054292a947c676b (diff) | |
download | bcm5719-llvm-0087fe6e5cdc677063a28ce42205ffefbd1ab191.tar.gz bcm5719-llvm-0087fe6e5cdc677063a28ce42205ffefbd1ab191.zip |
Move the metadata constructors back to 2.5 syntax.
llvm-svn: 77733
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | llvm/lib/VMCore/LLVMContext.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index 107905f40aa..3cd715866e5 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/lib/VMCore/LLVMContext.cpp @@ -31,21 +31,3 @@ LLVMContext& llvm::getGlobalContext() { LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { } LLVMContext::~LLVMContext() { delete pImpl; } - -// MDNode accessors -MDNode* LLVMContext::getMDNode(Value* const* Vals, unsigned NumVals) { - return pImpl->getMDNode(Vals, NumVals); -} - -// MDString accessors -MDString* LLVMContext::getMDString(const StringRef &Str) { - return pImpl->getMDString(Str.data(), Str.size()); -} - -void LLVMContext::erase(MDString *M) { - pImpl->erase(M); -} - -void LLVMContext::erase(MDNode *M) { - pImpl->erase(M); -} |