File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ static inline bool checkIfSupported(GlobalVariable &G) {
80
80
<< G.getName ();
81
81
82
82
Instruction *I = nullptr ;
83
- SmallVector<User *> Tmp (G.user_begin (), G. user_end ());
83
+ SmallVector<User *> Tmp (G.users ());
84
84
SmallPtrSet<User *, 5 > Visited;
85
85
do {
86
86
auto U = std::move (Tmp.back ());
Original file line number Diff line number Diff line change @@ -12334,7 +12334,7 @@ struct AAIndirectCallInfoCallSite : public AAIndirectCallInfo {
12334
12334
bool CBIsVoid = CB->getType()->isVoidTy();
12335
12335
BasicBlock::iterator IP = CB->getIterator();
12336
12336
FunctionType *CSFT = CB->getFunctionType();
12337
- SmallVector<Value *> CSArgs(CB->arg_begin(), CB->arg_end ());
12337
+ SmallVector<Value *> CSArgs(CB->args ());
12338
12338
12339
12339
// If we know all callees and there are none, the call site is (effectively)
12340
12340
// dead (or UB).
You can’t perform that action at this time.
0 commit comments