]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cfg.c
vec.h (debug_helper): New function.
[thirdparty/gcc.git] / gcc / cfg.c
index 34bc11239f69193edc1744a00a81d30a222ad512..8e2683b8d6ec9aab2cc1b19bec58fd1ecdb10020 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -553,6 +553,16 @@ debug (edge_def *ptr)
   else
     fprintf (stderr, "<nil>\n");
 }
+
+static void
+debug_slim (edge e)
+{
+  fprintf (stderr, "<edge 0x%p (%d -> %d)>", (void *) e,
+          e->src->index, e->dest->index);
+}
+
+DEFINE_DEBUG_VEC (edge)
+DEFINE_DEBUG_HASH_SET (edge)
 \f
 /* Simple routines to easily allocate AUX fields of basic blocks.  */