diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 21:25:48 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 21:25:48 +0000 |
| commit | d88c1a5a572cdb661c111098831fa526e933756f (patch) | |
| tree | 97b32c3372106ac47ded3d1a99f9c023a8530073 /contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp | |
| parent | 715652a404ee99f10c09c0a5edbb5883961b8c25 (diff) | |
| parent | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp')
| -rw-r--r-- | contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp b/contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp index f81e64e06f43..d0609b15341d 100644 --- a/contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp +++ b/contrib/llvm/lib/Target/Mips/MipsMachineFunction.cpp @@ -60,7 +60,7 @@ void MipsFunctionInfo::createEhDataRegsFI() { ? &Mips::GPR64RegClass : &Mips::GPR32RegClass; - EhDataRegFI[I] = MF.getFrameInfo()->CreateStackObject(RC->getSize(), + EhDataRegFI[I] = MF.getFrameInfo().CreateStackObject(RC->getSize(), RC->getAlignment(), false); } } @@ -68,12 +68,12 @@ void MipsFunctionInfo::createEhDataRegsFI() { void MipsFunctionInfo::createISRRegFI() { // ISRs require spill slots for Status & ErrorPC Coprocessor 0 registers. // The current implementation only supports Mips32r2+ not Mips64rX. Status - // is always 32 bits, ErrorPC is 32 or 64 bits dependant on architecture, + // is always 32 bits, ErrorPC is 32 or 64 bits dependent on architecture, // however Mips32r2+ is the supported architecture. const TargetRegisterClass *RC = &Mips::GPR32RegClass; for (int I = 0; I < 2; ++I) - ISRDataRegFI[I] = MF.getFrameInfo()->CreateStackObject( + ISRDataRegFI[I] = MF.getFrameInfo().CreateStackObject( RC->getSize(), RC->getAlignment(), false); } @@ -95,7 +95,7 @@ MachinePointerInfo MipsFunctionInfo::callPtrInfo(const GlobalValue *GV) { int MipsFunctionInfo::getMoveF64ViaSpillFI(const TargetRegisterClass *RC) { if (MoveF64ViaSpillFI == -1) { - MoveF64ViaSpillFI = MF.getFrameInfo()->CreateStackObject( + MoveF64ViaSpillFI = MF.getFrameInfo().CreateStackObject( RC->getSize(), RC->getAlignment(), false); } return MoveF64ViaSpillFI; |
