[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 3e1c787b31
Differential Revision: https://reviews.llvm.org/D136048
This commit is contained in:
@@ -2983,7 +2983,7 @@ void ModuleBitcodeWriter::writeInstruction(const Instruction &I,
|
||||
: bitc::FUNC_CODE_INST_CLEANUPPAD;
|
||||
pushValue(FuncletPad.getParentPad(), InstID, Vals);
|
||||
|
||||
unsigned NumArgOperands = FuncletPad.getNumArgOperands();
|
||||
unsigned NumArgOperands = FuncletPad.arg_size();
|
||||
Vals.push_back(NumArgOperands);
|
||||
for (unsigned Op = 0; Op != NumArgOperands; ++Op)
|
||||
pushValueAndType(FuncletPad.getArgOperand(Op), InstID, Vals);
|
||||
|
||||
Reference in New Issue
Block a user