diff options
author | Tim Northover <tnorthover@apple.com> | 2016-09-21 12:57:35 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-09-21 12:57:35 +0000 |
commit | d79f714b0b93ef22ba9cac4a1b0c21c6dfb5257a (patch) | |
tree | 79251325dd158c5c7ac343abf9ec358a6e62c720 /lib/Target/AArch64/AArch64CallLowering.h | |
parent | d5fca758fa51f104fa4ccb37d9062744a4bd8392 (diff) |
GlobalISel: pass Function to lowerFormalArguments directly (NFC).
The only implementation that exists immediately looks it up anyway, and the
information is needed to handle various parameter attributes (stored on the
function itself).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64CallLowering.h')
-rw-r--r-- | lib/Target/AArch64/AArch64CallLowering.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/AArch64/AArch64CallLowering.h b/lib/Target/AArch64/AArch64CallLowering.h index 05b415fd45e..452551d98ae 100644 --- a/lib/Target/AArch64/AArch64CallLowering.h +++ b/lib/Target/AArch64/AArch64CallLowering.h @@ -30,8 +30,7 @@ class AArch64CallLowering: public CallLowering { bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val, unsigned VReg) const override; - bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, - const Function::ArgumentListType &Args, + bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef<unsigned> VRegs) const override; bool lowerCall(MachineIRBuilder &MIRBuilder, const MachineOperand &Callee, |