]> git.ipfire.org Git - thirdparty/gcc.git/commit
print-rtl: Change return type of two print functions from int to void
authorUros Bizjak <ubizjak@gmail.com>
Mon, 5 Jun 2023 12:51:02 +0000 (14:51 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Mon, 5 Jun 2023 14:32:41 +0000 (16:32 +0200)
commit8e1e1fc4fcb0d7d93222a707f9b83ae400c5a3fa
tree5d913af416fb1cd9919e2949234fdb930282fbe1
parentd015c658a01961e6e52d902ef405cfe49d1be7d0
print-rtl: Change return type of two print functions from int to void

Also change one internal variable to bool.

gcc/ChangeLog:

* rtl.h (print_rtl_single): Change return type from int to void.
(print_rtl_single_with_indent): Ditto.
* print-rtl.h (class rtx_writer): Ditto.  Change m_sawclose to bool.
* print-rtl.cc (rtx_writer::rtx_writer): Update for m_sawclose change.
(rtx_writer::print_rtx_operand_code_0): Ditto.
(rtx_writer::print_rtx_operand_codes_E_and_V): Ditto.
(rtx_writer::print_rtx_operand_code_i): Ditto.
(rtx_writer::print_rtx_operand_code_u): Ditto.
(rtx_writer::print_rtx_operand): Ditto.
(rtx_writer::print_rtx): Ditto.
(rtx_writer::finish_directive): Ditto.
(print_rtl_single): Change return type from int to void
and adjust function body accordingly.
(rtx_writer::print_rtl_single_with_indent): Ditto.
gcc/print-rtl.cc
gcc/print-rtl.h
gcc/rtl.h