summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-22 20:32:34 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-22 20:32:34 +0000
commitbfbe1875934f046eb5cdb107fb5eccd6d86f7db5 (patch)
tree9c30cb4a22907a4c78393ee0a906036b5520c57a /lib
parentba6ca6dd3bc4a7f30e07010c3b0b95cced719f76 (diff)
downloadllvm-bfbe1875934f046eb5cdb107fb5eccd6d86f7db5.tar.gz
llvm-bfbe1875934f046eb5cdb107fb5eccd6d86f7db5.tar.bz2
llvm-bfbe1875934f046eb5cdb107fb5eccd6d86f7db5.tar.xz
Remove a few commented out bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMMCInstLower.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp
index 03c382594f..e54e76a8ce 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<MachineModuleInfoMachO>();
-}
-#endif
-
MCSymbol *ARMMCInstLower::GetGlobalAddressSymbol(const GlobalValue *GV) const {
return Printer.Mang->getSymbol(GV);
}