summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/LLVMContext.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-29 09:01:33 +0000
committerChris Lattner <sabre@nondot.org>2009-12-29 09:01:33 +0000
commita0566979b7cf6da2aca187e9d71ab961de80727d (patch)
tree102a56209d4ea5d65bd9e445f0502ac3f3c72081 /llvm/lib/VMCore/LLVMContext.cpp
parent9330b2f7ecd767f95c829b8a28a41ff32cd99d2c (diff)
downloadbcm5719-llvm-a0566979b7cf6da2aca187e9d71ab961de80727d.tar.gz
bcm5719-llvm-a0566979b7cf6da2aca187e9d71ab961de80727d.zip
Final step in the metadata API restructuring: move the
getMDKindID/getMDKindNames methods to LLVMContext (and add convenience methods to Module), eliminating MetadataContext. Move the state that it maintains out to LLVMContext. llvm-svn: 92259
Diffstat (limited to 'llvm/lib/VMCore/LLVMContext.cpp')
-rw-r--r--llvm/lib/VMCore/LLVMContext.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp
index 3e326050fca..5a8ea5cf6d3 100644
--- a/llvm/lib/VMCore/LLVMContext.cpp
+++ b/llvm/lib/VMCore/LLVMContext.cpp
@@ -17,9 +17,7 @@
#include "llvm/Constants.h"
#include "llvm/Instruction.h"
#include "llvm/Support/ManagedStatic.h"
-#include "llvm/Support/ValueHandle.h"
#include "LLVMContextImpl.h"
-
using namespace llvm;
static ManagedStatic<LLVMContext> GlobalContext;
@@ -44,6 +42,3 @@ GetElementPtrConstantExpr::GetElementPtrConstantExpr
OperandList[i+1] = IdxList[i];
}
-MetadataContext &LLVMContext::getMetadata() {
- return pImpl->TheMetadata;
-}
OpenPOWER on IntegriCloud