mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
9a7a4d2a60
commit
38c398808c
@ -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.
|
||||
///
|
||||
|
@ -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; }
|
||||
|
@ -74,7 +74,7 @@ AsmPrinter::~AsmPrinter() {
|
||||
delete &OutContext;
|
||||
}
|
||||
|
||||
const TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
|
||||
TargetLoweringObjectFile &AsmPrinter::getObjFileLowering() const {
|
||||
return TM.getTargetLowering()->getObjFileLowering();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user