summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-30 13:01:51 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-30 13:01:51 +0000
commit74dba875e2f2d60919f0151022a995ef4883efb5 (patch)
treebc23ddb81b2c3b8a824bf6a73c17a5b4f5432532 /llvm/lib/Target/ARM
parent94dcaf8e2b4fb4d69c334dd9ece3431536ae2a3d (diff)
downloadbcm5719-llvm-74dba875e2f2d60919f0151022a995ef4883efb5.tar.gz
bcm5719-llvm-74dba875e2f2d60919f0151022a995ef4883efb5.zip
Remove the Function::getRetAttributes method in favor of using the AttributeSet accessor method.
llvm-svn: 171256
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 3acb3da2b75..f4721aa24b7 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -2102,8 +2102,7 @@ bool ARMFastISel::SelectRet(const Instruction *I) {
CallingConv::ID CC = F.getCallingConv();
if (Ret->getNumOperands() > 0) {
SmallVector<ISD::OutputArg, 4> Outs;
- GetReturnInfo(F.getReturnType(), F.getAttributes().getRetAttributes(),
- Outs, TLI);
+ GetReturnInfo(F.getReturnType(), F.getAttributes(), Outs, TLI);
// Analyze operands of the call, assigning locations to each operand.
SmallVector<CCValAssign, 16> ValLocs;
OpenPOWER on IntegriCloud