r277614 - in /trunk/gcc: ChangeLog fold-const.c...
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Wed Oct 30 12:01:00 GMT 2019
Author: marxin
Date: Wed Oct 30 12:01:03 2019
New Revision: 277614
URL: https://gcc.gnu.org/viewcvs?rev=277614&root=gcc&view=rev
Log:
Come up with an abstraction.
2019-10-30 Martin Liska <mliska@suse.cz>
* fold-const.c (operand_equal_p): Move to ...
(operand_compare::operand_equal_p): ... here.
(operand_compare::verify_hash_value): New.
(add_expr): Move to ...
(operand_compare::hash_operand): ... here.
* fold-const.h (operand_equal_p): Move to the class.
(class operand_compare): New.
* tree.c (add_expr): Remove.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/fold-const.h
trunk/gcc/tree.c
More information about the Gcc-cvs
mailing list