aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-10-03 08:22:19 -0700
committerKazu Hirata <kazu@google.com>2021-10-03 08:22:20 -0700
commitd34cd75d890ae18beae8b40079522935b5fcf45a (patch)
tree0a90efa4a1a6d84948d4e676c27b75d65c65b89e /llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
parent9afec8890743bd529d179ee308da5ba91e0aa999 (diff)
downloadllvm-d34cd75d890ae18beae8b40079522935b5fcf45a.zip
llvm-d34cd75d890ae18beae8b40079522935b5fcf45a.tar.gz
llvm-d34cd75d890ae18beae8b40079522935b5fcf45a.tar.bz2
[Analysis, CodeGen] Migrate from arg_operands to args (NFC)
Note that arg_operands is considered a legacy name. See llvm/include/llvm/IR/InstrTypes.h for details.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index a903c24..e2db963 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -1119,7 +1119,7 @@ void SelectionDAGBuilder::LowerCallSiteWithDeoptBundleImpl(
StatepointLoweringInfo SI(DAG);
unsigned ArgBeginIndex = Call->arg_begin() - Call->op_begin();
populateCallLoweringInfo(
- SI.CLI, Call, ArgBeginIndex, Call->getNumArgOperands(), Callee,
+ SI.CLI, Call, ArgBeginIndex, Call->arg_size(), Callee,
ForceVoidReturnTy ? Type::getVoidTy(*DAG.getContext()) : Call->getType(),
false);
if (!VarArgDisallowed)