[simplify-rtx][trivial] Use std::swap instead of manually swapping
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 27 Apr 2015 13:45:26 +0000 (13:45 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 27 Apr 2015 13:45:26 +0000 (13:45 +0000)
commite2be0590fcecf5b0b369415848d7edbe18bca125
tree4dafb957bf5fa0e63d072004cafa5888a2f78a17
parent60a4dfd65e3918679ea74e1b27265e68daef2d8d
[simplify-rtx][trivial] Use std::swap instead of manually swapping

* simplify-rtx.c (simplify_gen_binary): Use std::swap instead
of manually swapping.
(simplify_associative_operation): Likewise.
(simplify_binary_operation): Likewise.
(simplify_plus_minus): Likewise.
(simplify_relational_operation): Likewise.
(simplify_ternary_operation): Likewise.

From-SVN: r222465
gcc/ChangeLog
gcc/simplify-rtx.c