mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[mips] Add parameter Alignment to MipsFrameLowering's constructor.
No functionality changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cbd401756
commit
8c0b9b03fe
@ -20,7 +20,7 @@ namespace llvm {
|
||||
class Mips16FrameLowering : public MipsFrameLowering {
|
||||
public:
|
||||
explicit Mips16FrameLowering(const MipsSubtarget &STI)
|
||||
: MipsFrameLowering(STI) {}
|
||||
: MipsFrameLowering(STI, 8) {}
|
||||
|
||||
/// emitProlog/emitEpilog - These methods insert prolog and epilog code into
|
||||
/// the function.
|
||||
|
@ -26,9 +26,8 @@ protected:
|
||||
const MipsSubtarget &STI;
|
||||
|
||||
public:
|
||||
explicit MipsFrameLowering(const MipsSubtarget &sti)
|
||||
: TargetFrameLowering(StackGrowsDown, sti.hasMips64() ? 16 : 8, 0,
|
||||
sti.hasMips64() ? 16 : 8), STI(sti) {}
|
||||
explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment)
|
||||
: TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {}
|
||||
|
||||
static const MipsFrameLowering *create(MipsTargetMachine &TM,
|
||||
const MipsSubtarget &ST);
|
||||
|
@ -21,7 +21,7 @@ namespace llvm {
|
||||
class MipsSEFrameLowering : public MipsFrameLowering {
|
||||
public:
|
||||
explicit MipsSEFrameLowering(const MipsSubtarget &STI)
|
||||
: MipsFrameLowering(STI) {}
|
||||
: MipsFrameLowering(STI, STI.hasMips64() ? 16 : 8) {}
|
||||
|
||||
/// emitProlog/emitEpilog - These methods insert prolog and epilog code into
|
||||
/// the function.
|
||||
|
Loading…
Reference in New Issue
Block a user