Make print_scop output the scoplib format.
[gcc.git] / gcc / graphite-poly.h
index b5866995a63456265cc50a867400cd5eabbbf306..665276bdaebd195b6a4083563c526331ab652147 100644 (file)
@@ -385,12 +385,19 @@ number_of_write_pdrs (poly_bb_p pbb)
   return res;
 }
 
+/* The basic block of the PBB.  */
+static inline basic_block
+pbb_bb (poly_bb_p pbb)
+{
+  return GBB_BB (PBB_BLACK_BOX (pbb));
+}
+
 /* The index of the PBB.  */
 
 static inline int
 pbb_index (poly_bb_p pbb)
 {
-  return GBB_BB (PBB_BLACK_BOX (pbb))->index;
+  return pbb_bb (pbb)->index;
 }
 
 /* The loop of the PBB.  */