[llvm] r198796 - Remove vestigal bits of MC from the mangler. It no longer uses this, and
Chandler Carruth
chandlerc at gmail.com
Wed Jan 8 13:59:22 PST 2014
Author: chandlerc
Date: Wed Jan 8 15:59:22 2014
New Revision: 198796
URL: http://llvm.org/viewvc/llvm-project?rev=198796&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/IR/Mangler.h
llvm/trunk/lib/IR/Mangler.cpp
Modified: llvm/trunk/include/llvm/IR/Mangler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Mangler.h?rev=198796&r1=198795&r2=198796&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Mangler.h (original)
+++ llvm/trunk/include/llvm/IR/Mangler.h Wed Jan 8 15:59:22 2014
@@ -20,7 +20,6 @@ namespace llvm {
class DataLayout;
class GlobalValue;
-class MCContext;
template <typename T> class SmallVectorImpl;
class Twine;
Modified: llvm/trunk/lib/IR/Mangler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Mangler.cpp?rev=198796&r1=198795&r2=198796&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Mangler.cpp (original)
+++ llvm/trunk/lib/IR/Mangler.cpp Wed Jan 8 15:59:22 2014
@@ -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;
More information about the llvm-commits
mailing list