mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Rename PPCLinuxMCAsmInfo to PPCELFMCAsmInfo to better reflect the
systems it represents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8f23a8a5d
commit
d6c23bed52
@ -42,9 +42,9 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) {
|
|||||||
UseIntegratedAssembler = true;
|
UseIntegratedAssembler = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PPCLinuxMCAsmInfo::anchor() { }
|
void PPCELFMCAsmInfo::anchor() { }
|
||||||
|
|
||||||
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit, const Triple& T) {
|
PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) {
|
||||||
if (is64Bit) {
|
if (is64Bit) {
|
||||||
PointerSize = CalleeSaveStackSlotSize = 8;
|
PointerSize = CalleeSaveStackSlotSize = 8;
|
||||||
}
|
}
|
||||||
|
@ -26,10 +26,10 @@ class Triple;
|
|||||||
explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple&);
|
explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple&);
|
||||||
};
|
};
|
||||||
|
|
||||||
class PPCLinuxMCAsmInfo : public MCAsmInfoELF {
|
class PPCELFMCAsmInfo : public MCAsmInfoELF {
|
||||||
void anchor() override;
|
void anchor() override;
|
||||||
public:
|
public:
|
||||||
explicit PPCLinuxMCAsmInfo(bool is64Bit, const Triple&);
|
explicit PPCELFMCAsmInfo(bool is64Bit, const Triple&);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace llvm
|
} // namespace llvm
|
||||||
|
@ -79,7 +79,7 @@ static MCAsmInfo *createPPCMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
|
|||||||
if (TheTriple.isOSDarwin())
|
if (TheTriple.isOSDarwin())
|
||||||
MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple);
|
MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple);
|
||||||
else
|
else
|
||||||
MAI = new PPCLinuxMCAsmInfo(isPPC64, TheTriple);
|
MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple);
|
||||||
|
|
||||||
// Initial state of the frame pointer is R1.
|
// Initial state of the frame pointer is R1.
|
||||||
unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1;
|
unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user