From 98f3de8880d4d387135b1a8407ba82d212b00862 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 8 Jan 2014 21:59:22 +0000 Subject: [PATCH] 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. llvm-svn: 198796 --- llvm/include/llvm/IR/Mangler.h | 1 - llvm/lib/IR/Mangler.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/llvm/include/llvm/IR/Mangler.h b/llvm/include/llvm/IR/Mangler.h index 865582ac318b..d4a95598196f 100644 --- a/llvm/include/llvm/IR/Mangler.h +++ b/llvm/include/llvm/IR/Mangler.h @@ -20,7 +20,6 @@ namespace llvm { class DataLayout; class GlobalValue; -class MCContext; template class SmallVectorImpl; class Twine; diff --git a/llvm/lib/IR/Mangler.cpp b/llvm/lib/IR/Mangler.cpp index faa4c8fe71ee..d3b53a9bddc5 100644 --- a/llvm/lib/IR/Mangler.cpp +++ b/llvm/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;