summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IRBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/IRBuilder.cpp')
-rw-r--r--llvm/lib/VMCore/IRBuilder.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/IRBuilder.cpp b/llvm/lib/VMCore/IRBuilder.cpp
index 4c0299c6fcf..699bf0f6535 100644
--- a/llvm/lib/VMCore/IRBuilder.cpp
+++ b/llvm/lib/VMCore/IRBuilder.cpp
@@ -15,7 +15,6 @@
#include "llvm/Support/IRBuilder.h"
#include "llvm/GlobalVariable.h"
#include "llvm/Function.h"
-#include "llvm/Metadata.h"
#include "llvm/LLVMContext.h"
using namespace llvm;
@@ -37,7 +36,7 @@ Value *IRBuilderBase::CreateGlobalString(const char *Str, const Twine &Name) {
/// information.
void IRBuilderBase::SetCurrentDebugLocation(MDNode *L) {
if (DbgMDKind == 0)
- DbgMDKind = Context.getMetadata().getMDKindID("dbg");
+ DbgMDKind = Context.getMDKindID("dbg");
CurDbgLocation = L;
}
OpenPOWER on IntegriCloud