]> git.ipfire.org Git - thirdparty/gcc.git/commit
Come up with an abstraction.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2019 12:01:03 +0000 (12:01 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2019 12:01:03 +0000 (12:01 +0000)
commitfc0bba82343e4dab08cdc98cb5f0d9520e557338
treeb47bc170e7685789924985d88c12fcf373024b96
parent8fc1843e879d8877b88b440489442a8a77d72ea1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277614 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/fold-const.h
gcc/tree.c