mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
Rename CreateTLOF->createTLOF to match the rest of the file and the
rest of the targets with a similar function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,7 +50,7 @@ cl::desc("disable unaligned load/store generation on PPC"), cl::Hidden);
|
|||||||
// FIXME: Remove this once the bug has been fixed!
|
// FIXME: Remove this once the bug has been fixed!
|
||||||
extern cl::opt<bool> ANDIGlueBug;
|
extern cl::opt<bool> ANDIGlueBug;
|
||||||
|
|
||||||
static TargetLoweringObjectFile *CreateTLOF(const PPCTargetMachine &TM) {
|
static TargetLoweringObjectFile *createTLOF(const PPCTargetMachine &TM) {
|
||||||
if (TM.getSubtargetImpl()->isDarwin())
|
if (TM.getSubtargetImpl()->isDarwin())
|
||||||
return new TargetLoweringObjectFileMachO();
|
return new TargetLoweringObjectFileMachO();
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ static TargetLoweringObjectFile *CreateTLOF(const PPCTargetMachine &TM) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
|
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
|
||||||
: TargetLowering(TM, CreateTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
|
: TargetLowering(TM, createTLOF(TM)), PPCSubTarget(*TM.getSubtargetImpl()) {
|
||||||
const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>();
|
const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>();
|
||||||
|
|
||||||
setPow2DivIsCheap();
|
setPow2DivIsCheap();
|
||||||
|
Reference in New Issue
Block a user