public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3336] Add debug helper for jump thread paths.
@ 2021-09-03 13:36 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-09-03 13:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9fa5ba4c56ef558bc740e56654622d70f4166e48

commit r12-3336-g9fa5ba4c56ef558bc740e56654622d70f4166e48
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Fri Sep 3 11:57:27 2021 +0200

    Add debug helper for jump thread paths.
    
    Tested on x86-64 Linux.
    
    gcc/ChangeLog:
    
            * tree-ssa-threadupdate.c (debug): New.

Diff:
---
 gcc/tree-ssa-threadupdate.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index d08e7d30d8d..1d32a0230fb 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -239,6 +239,12 @@ debug (const vec<jump_thread_edge *> &path)
   dump_jump_thread_path (stderr, path, true);
 }
 
+DEBUG_FUNCTION void
+debug (const vec<jump_thread_edge *> *path)
+{
+  debug (*path);
+}
+
 /* Simple hashing function.  For any given incoming edge E, we're going
    to be most concerned with the final destination of its jump thread
    path.  So hash on the block index of the final edge in the path.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-03 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 13:36 [gcc r12-3336] Add debug helper for jump thread paths Aldy Hernandez

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).