summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-06 19:45:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-06 19:45:42 +0000
commitab37af9af3954d253894893ed897690ef6509b8a (patch)
tree4ac6f85f45285c6922fe7c97411882bade889067 /llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
parente58f332b8c20c257859b6b236fef23f7e2af2813 (diff)
downloadbcm5719-llvm-ab37af9af3954d253894893ed897690ef6509b8a.tar.gz
bcm5719-llvm-ab37af9af3954d253894893ed897690ef6509b8a.zip
createMCInstPrinter doesn't need TargetMachine anymore.
llvm-svn: 134525
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
index 761707186ce..d748e2cb3a8 100644
--- a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
+++ b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
@@ -15,7 +15,6 @@
#define DEBUG_TYPE "asm-printer"
#include "X86ATTInstPrinter.h"
#include "X86InstComments.h"
-#include "X86Subtarget.h"
#include "MCTargetDesc/X86TargetDesc.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCAsmInfo.h"
@@ -31,7 +30,7 @@ using namespace llvm;
#define PRINT_ALIAS_INSTR
#include "X86GenAsmWriter.inc"
-X86ATTInstPrinter::X86ATTInstPrinter(TargetMachine &TM, const MCAsmInfo &MAI)
+X86ATTInstPrinter::X86ATTInstPrinter(const MCAsmInfo &MAI)
: MCInstPrinter(MAI) {
}
OpenPOWER on IntegriCloud