summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-08 21:59:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-08 21:59:22 +0000
commit6b71233fb186c39b33345deee8c6f862f41003b8 (patch)
treee2dd7e916e887c93bc791f396b8d824fb654a4b1
parent5bbbb37ff258229556faf238fcae489ee382bffa (diff)
downloadllvm-6b71233fb186c39b33345deee8c6f862f41003b8.tar.gz
llvm-6b71233fb186c39b33345deee8c6f862f41003b8.tar.bz2
llvm-6b71233fb186c39b33345deee8c6f862f41003b8.tar.xz
Remove vestigal bits of MC from the mangler. It no longer uses this, and
having the include could cause weird layering problems between the IR and MC libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198796 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/IR/Mangler.h1
-rw-r--r--lib/IR/Mangler.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/IR/Mangler.h b/include/llvm/IR/Mangler.h
index 865582ac31..d4a9559819 100644
--- a/include/llvm/IR/Mangler.h
+++ b/include/llvm/IR/Mangler.h
@@ -20,7 +20,6 @@ namespace llvm {
class DataLayout;
class GlobalValue;
-class MCContext;
template <typename T> class SmallVectorImpl;
class Twine;
diff --git a/lib/IR/Mangler.cpp b/lib/IR/Mangler.cpp
index faa4c8fe71..d3b53a9bdd 100644
--- a/lib/IR/Mangler.cpp
+++ b/lib/IR/Mangler.cpp
@@ -17,7 +17,6 @@
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
-#include "llvm/MC/MCContext.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;