summaryrefslogtreecommitdiff
path: root/lib/Target/NVPTX/NVPTXISelLowering.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-17 21:50:01 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-17 21:50:01 +0000
commitd825568843af30f761696f86276d93fc29c9e74c (patch)
treead4afe683d179d4697f6bec2eff516c291ebe769 /lib/Target/NVPTX/NVPTXISelLowering.cpp
parenta53c7657451d9c4db1cb434e78863a73805bb3c9 (diff)
downloadllvm-d825568843af30f761696f86276d93fc29c9e74c.tar.gz
llvm-d825568843af30f761696f86276d93fc29c9e74c.tar.bz2
llvm-d825568843af30f761696f86276d93fc29c9e74c.tar.xz
Target: change member from reference to pointer
This is a preliminary step to help ease the construction of CallLoweringInfo. Changing the construction to a chained function pattern requires that the parameter be nullable. However, rather than copying the vector, save a pointer rather than the reference to permit a late binding of the arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX/NVPTXISelLowering.cpp')
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/NVPTX/NVPTXISelLowering.cpp b/lib/Target/NVPTX/NVPTXISelLowering.cpp
index e6860a9b26..b0943befa8 100644
--- a/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -636,7 +636,7 @@ SDValue NVPTXTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
SDValue Chain = CLI.Chain;
SDValue Callee = CLI.Callee;
bool &isTailCall = CLI.IsTailCall;
- ArgListTy &Args = CLI.Args;
+ ArgListTy &Args = CLI.getArgs();
Type *retTy = CLI.RetTy;
ImmutableCallSite *CS = CLI.CS;