[PATCH] D31058: Store Arguments in a flat array instead of an iplist
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 15:45:28 PDT 2017
chandlerc added inline comments.
================
Comment at: include/llvm/IR/Function.h:107-110
+ /// Internal wrapper for conveniently iterating the argument list.
+ MutableArrayRef<Argument> getArgList() {
+ return MutableArrayRef<Argument>(Arguments, NumArgs);
+ }
----------------
chandlerc wrote:
> We already have getArgumentList?
I see you're removing in another patch... Maybe rewrite the users of this in terms of arg_begin too?
https://reviews.llvm.org/D31058
More information about the llvm-commits
mailing list