From bfbe1875934f046eb5cdb107fb5eccd6d86f7db5 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 22 Sep 2010 20:32:34 +0000 Subject: [PATCH] Remove a few commented out bits git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114576 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMMCInstLower.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp index 03c382594f6..e54e76a8ced 100644 --- a/lib/Target/ARM/ARMMCInstLower.cpp +++ b/lib/Target/ARM/ARMMCInstLower.cpp @@ -14,7 +14,6 @@ #include "ARM.h" #include "ARMMCInstLower.h" -//#include "llvm/CodeGen/MachineModuleInfoImpls.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/Constants.h" #include "llvm/CodeGen/MachineBasicBlock.h" @@ -22,24 +21,11 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" -//#include "llvm/MC/MCStreamer.h" #include "llvm/Target/Mangler.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/SmallString.h" using namespace llvm; - -#if 0 -const ARMSubtarget &ARMMCInstLower::getSubtarget() const { - return AsmPrinter.getSubtarget(); -} - -MachineModuleInfoMachO &ARMMCInstLower::getMachOMMI() const { - assert(getSubtarget().isTargetDarwin() &&"Can only get MachO info on darwin"); - return AsmPrinter.MMI->getObjFileInfo(); -} -#endif - MCSymbol *ARMMCInstLower::GetGlobalAddressSymbol(const GlobalValue *GV) const { return Printer.Mang->getSymbol(GV); } -- 2.34.1