Remove vestigal bits of MC from the mangler. It no longer uses this, and
authorChandler Carruth <chandlerc@gmail.com>
Wed, 8 Jan 2014 21:59:22 +0000 (21:59 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 8 Jan 2014 21:59:22 +0000 (21:59 +0000)
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

include/llvm/IR/Mangler.h
lib/IR/Mangler.cpp

index 865582ac318b8a9f61880dba9f575d89e97726e5..d4a95598196f7c8c431f7acea9d105f5a4418bc5 100644 (file)
@@ -20,7 +20,6 @@ namespace llvm {
 
 class DataLayout;
 class GlobalValue;
-class MCContext;
 template <typename T> class SmallVectorImpl;
 class Twine;
 
index faa4c8fe71ee0ee39e253e2a16f168a57fbea38b..d3b53a9bddc523ef82cdf55d83c88945182ee7be 100644 (file)
@@ -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;