]> gcc.gnu.org Git - gcc.git/commitdiff
loop.c (fix_bct_param): Delete unused function.
authorJeffrey A Law <law@cygnus.com>
Sun, 21 Sep 1997 23:43:38 +0000 (23:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 21 Sep 1997 23:43:38 +0000 (17:43 -0600)
        * loop.c (fix_bct_param): Delete unused function.
        (check_bct_param): Likewise.

From-SVN: r15613

gcc/ChangeLog
gcc/loop.c

index 71c1f8ec74b0d7adaebf6ed199285b1d291d4ad0..89de397c2a16b36c98e68eac8fdf4b1e9d1f0e34 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 21 17:45:45 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * loop.c (fix_bct_param): Delete unused function.
+       (check_bct_param): Likewise.
+
 Sat Sep 20 16:22:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * frame.c (__deregister_frame): Check properly for initialized object.
index 3c5282ab3d8f122b07681a88d29928ca5d388917..39cc85fa7a7e0a903d1b08c97e5064b372e4a41b 100644 (file)
@@ -109,11 +109,6 @@ rtx *loop_increment;
 rtx *loop_comparison_value;
 rtx *loop_start_value;
 enum rtx_code *loop_comparison_code;
-
-/* for debugging: selects sub-range of loops for which the bct optimization
-   is invoked.  The numbering is per compilation-unit.  */
-int dbg_bct_min = -1;
-int dbg_bct_max = -1;
 #endif  /* HAIFA */
 
 
@@ -340,10 +335,6 @@ int indirect_jump_in_function = 0;
 static int indirect_jump_in_function_p ();
 
 int loop_number ();
-
-/* Debugging functions.  */
-int fix_bct_param ();
-static int check_bct_param ();
 #endif  /* HAIFA */
 
 \f
@@ -7634,31 +7625,5 @@ indirect_jump_in_function_p (start)
   }
   return is_indirect_jump;
 }
-
-/* debugging: fix_bct_param () is called from toplev.c upon detection
-   of the -fbct-***-N options.  */
-int
-fix_bct_param (param, val)
-     char *param, *val;
-{
-  if ( !strcmp (param, "max") )
-    dbg_bct_max = atoi (val);
-  else if ( !strcmp (param, "min") )
-    dbg_bct_min = atoi (val);
-}
-
-/* debugging: return 1 if the loop should be instrumented,
-   according to bct-min/max.  */
-static int
-check_bct_param ()
-{
-  static int dbg_bct_num = 0;
-
-  dbg_bct_num++;
-  if (dbg_bct_num > dbg_bct_min || dbg_bct_min == -1)
-    if (dbg_bct_num <= dbg_bct_max || dbg_bct_max == -1)
-      return 1;
-  return 0;
-}
 #endif /* HAIFA */
 /* END CYGNUS LOCAL haifa */
This page took 0.070065 seconds and 5 git commands to generate.