diff options
author | Jason Merrill <jason@redhat.com> | 2019-11-05 18:50:41 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-11-05 18:50:41 -0500 |
commit | 6fda5f4981f1d249813c124576b037b12f6e8a61 (patch) | |
tree | 3222d58ac3ec63e30e42e02feb37a35e98bad514 /gcc/c-family/c-cppbuiltin.c | |
parent | f22f817cbdffe5b4e7d0ba7ab0eeb56ee61b3b72 (diff) | |
download | gcc-6fda5f4981f1d249813c124576b037b12f6e8a61.zip gcc-6fda5f4981f1d249813c124576b037b12f6e8a61.tar.gz gcc-6fda5f4981f1d249813c124576b037b12f6e8a61.tar.bz2 |
Use vec instead of raw array for built-in candidates.
My operator<=> patch wants to split up build_new_op_1, which makes using a
tree array as well as the vec inconvenient. build_new_op_1 already has a
vec, and build_conditional_expr_1 can release its vec right away, so this
doesn't increase garbage at all.
* call.c (build_builtin_candidate): Take args in a vec.
(add_builtin_candidate, add_builtin_candidates): Likewise.
(build_conditional_expr_1, build_new_op_1): Adjust.
From-SVN: r277863
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions