public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-3331] Implement relation_oracle::debug. Date: Fri, 3 Sep 2021 13:31:45 +0000 (GMT) [thread overview] Message-ID: <20210903133145.8997E3848429@sourceware.org> (raw) https://gcc.gnu.org/g:abcd2373635257773452153f02cbb116c91d3e79 commit r12-3331-gabcd2373635257773452153f02cbb116c91d3e79 Author: Aldy Hernandez <aldyh@redhat.com> Date: Fri Sep 3 10:58:27 2021 +0200 Implement relation_oracle::debug. Tested on x86-64 Linux. gcc/ChangeLog: * value-relation.cc (relation_oracle::debug): New. * value-relation.h (relation_oracle::debug): New. Diff: --- gcc/value-relation.cc | 6 ++++++ gcc/value-relation.h | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/value-relation.cc b/gcc/value-relation.cc index 8edd98b612a..ba01d298521 100644 --- a/gcc/value-relation.cc +++ b/gcc/value-relation.cc @@ -1164,3 +1164,9 @@ relation_oracle::dump (FILE *f) const dump (f, BASIC_BLOCK_FOR_FN (cfun, i)); } } + +void +relation_oracle::debug () const +{ + dump (stderr); +} diff --git a/gcc/value-relation.h b/gcc/value-relation.h index e0e2f82c9ae..27158e051bf 100644 --- a/gcc/value-relation.h +++ b/gcc/value-relation.h @@ -142,6 +142,7 @@ public: void dump (FILE *f, basic_block bb) const; void dump (FILE *f) const; + void debug () const; private: bitmap m_tmp, m_tmp2; bitmap m_relation_set; // Index by ssa-name. True if a relation exists
reply other threads:[~2021-09-03 13:31 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210903133145.8997E3848429@sourceware.org \ --to=aldyh@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).