diff options
author | Kazu Hirata <kazu@google.com> | 2022-10-17 10:15:10 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-10-17 10:15:10 -0700 |
commit | ef9956f4347c0450084228199dc427e6a8a0b1bb (patch) | |
tree | 4c545ef18e818c6dcb7cca66576d4232e58390d2 /llvm/lib/IR/Core.cpp | |
parent | 3ba60576c5b2524f9b94283aaf29475fa2faa54f (diff) | |
download | llvm-ef9956f4347c0450084228199dc427e6a8a0b1bb.zip llvm-ef9956f4347c0450084228199dc427e6a8a0b1bb.tar.gz llvm-ef9956f4347c0450084228199dc427e6a8a0b1bb.tar.bz2 |
[IR] Rename FuncletPadInst::getNumArgOperands to arg_size (NFC)
This patch renames FuncletPadInst::getNumArgOperands to arg_size for
consistency with CallBase, where getNumArgOperands was removed in
favor of arg_size in commit 3e1c787b3160bed4146d3b2b5f922aeed3caafd7
Differential Revision: https://reviews.llvm.org/D136048
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
-rw-r--r-- | llvm/lib/IR/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp index b267f82..45676a4 100644 --- a/llvm/lib/IR/Core.cpp +++ b/llvm/lib/IR/Core.cpp @@ -2806,7 +2806,7 @@ LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst) { unsigned LLVMGetNumArgOperands(LLVMValueRef Instr) { if (FuncletPadInst *FPI = dyn_cast<FuncletPadInst>(unwrap(Instr))) { - return FPI->getNumArgOperands(); + return FPI->arg_size(); } return unwrap<CallBase>(Instr)->arg_size(); } |