summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsFrameLowering.h
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2019-10-17 07:49:39 +0000
committerGuillaume Chatelet <gchatelet@google.com>2019-10-17 07:49:39 +0000
commit882c43d703cd63889a5541bf8f2c014733cbbbee (patch)
tree68f58973689f7df7249228424527bdd1432fed0e /llvm/lib/Target/Mips/MipsFrameLowering.h
parent943afb57aa65b03b29808765c4c657f03d3d0e94 (diff)
downloadbcm5719-llvm-882c43d703cd63889a5541bf8f2c014733cbbbee.tar.gz
bcm5719-llvm-882c43d703cd63889a5541bf8f2c014733cbbbee.zip
[Alignment][NFC] Use Align for TargetFrameLowering/Subtarget
Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: jholewinski, arsenm, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, nhaehnle, sbc100, jgravelle-google, hiraditya, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68993 llvm-svn: 375084
Diffstat (limited to 'llvm/lib/Target/Mips/MipsFrameLowering.h')
-rw-r--r--llvm/lib/Target/Mips/MipsFrameLowering.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsFrameLowering.h b/llvm/lib/Target/Mips/MipsFrameLowering.h
index 0537cfd1cb3..1043a6b1015 100644
--- a/llvm/lib/Target/Mips/MipsFrameLowering.h
+++ b/llvm/lib/Target/Mips/MipsFrameLowering.h
@@ -24,8 +24,9 @@ protected:
const MipsSubtarget &STI;
public:
- explicit MipsFrameLowering(const MipsSubtarget &sti, unsigned Alignment)
- : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment), STI(sti) {}
+ explicit MipsFrameLowering(const MipsSubtarget &sti, Align Alignment)
+ : TargetFrameLowering(StackGrowsDown, Alignment, 0, Alignment.value()),
+ STI(sti) {}
static const MipsFrameLowering *create(const MipsSubtarget &ST);
OpenPOWER on IntegriCloud