mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
make getObjFileLowering() return a non-const reference.
llvm-svn: 77984
This commit is contained in:
parent
e6cb9d1888
commit
a5a1e7b4ed
@ -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