make getObjFileLowering() return a non-const reference.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77984 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-03 19:12:26 +00:00
parent 9a7a4d2a60
commit 38c398808c
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ namespace llvm {
TargetMachine &TM;
/// getObjFileLowering - Return information about object file lowering.
const TargetLoweringObjectFile &getObjFileLowering() const;
TargetLoweringObjectFile &getObjFileLowering() const;
/// Target Asm Printer information.
///

View File

@ -107,7 +107,7 @@ public:
TargetMachine &getTargetMachine() const { return TM; }
const TargetData *getTargetData() const { return TD; }
const TargetLoweringObjectFile &getObjFileLowering() const { return TLOF; }
TargetLoweringObjectFile &getObjFileLowering() const { return TLOF; }
bool isBigEndian() const { return !IsLittleEndian; }
bool isLittleEndian() const { return IsLittleEndian; }

View File

@ -74,7 +74,7 @@ AsmPrinter::~AsmPrinter() {
delete &OutContext;
}
const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
return TM.getTargetLowering()->getObjFileLowering();
}