]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gimple.cc
Use more switch statements.
authorMartin Liska <mliska@suse.cz>
Tue, 24 Sep 2019 11:38:29 +0000 (13:38 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 24 Sep 2019 11:38:29 +0000 (11:38 +0000)
commit90acd49f6ba247e4549224c2178910aee95a2617
treef15a675e455fcdce2a341e15074a7799dfe078a6
parent231f75463c25e2a27c21c19f31bfbda421e12f49
Use more switch statements.

2019-09-24  Martin Liska  <mliska@suse.cz>

* cfgexpand.c (gimple_assign_rhs_to_tree): Use switch statement
instead of if-elseif-elseif-...
* gimple-expr.c (extract_ops_from_tree): Likewise.
* gimple.c (get_gimple_rhs_num_ops): Likewise.
* tree-ssa-forwprop.c (rhs_to_tree): Likewise.

From-SVN: r276095
gcc/ChangeLog
gcc/cfgexpand.c
gcc/gimple-expr.c
gcc/gimple.c
gcc/tree-ssa-forwprop.c