codegen debug flag (+RTS -Dc) was unused; remove it
authorSimon Marlow <simonmar@microsoft.com>
Wed, 7 Jun 2006 14:58:48 +0000 (14:58 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 7 Jun 2006 14:58:48 +0000 (14:58 +0000)
includes/RtsFlags.h
rts/RtsFlags.c

index 17d2363..11d9dbc 100644 (file)
@@ -49,7 +49,6 @@ struct DEBUG_FLAGS {
     /* flags to control debugging output & extra checking in various subsystems */
     rtsBool scheduler;      /* 's' */
     rtsBool interpreter;    /* 'i' */
     /* flags to control debugging output & extra checking in various subsystems */
     rtsBool scheduler;      /* 's' */
     rtsBool interpreter;    /* 'i' */
-    rtsBool codegen;        /* 'c' */
     rtsBool weak;           /* 'w' */
     rtsBool gccafs;         /* 'G' */
     rtsBool gc;             /* 'g' */
     rtsBool weak;           /* 'w' */
     rtsBool gccafs;         /* 'G' */
     rtsBool gc;             /* 'g' */
index 6f6f2c5..78c8d2a 100644 (file)
@@ -156,7 +156,6 @@ void initRtsFlagsDefaults(void)
 #ifdef DEBUG
     RtsFlags.DebugFlags.scheduler      = rtsFalse;
     RtsFlags.DebugFlags.interpreter    = rtsFalse;
 #ifdef DEBUG
     RtsFlags.DebugFlags.scheduler      = rtsFalse;
     RtsFlags.DebugFlags.interpreter    = rtsFalse;
-    RtsFlags.DebugFlags.codegen                = rtsFalse;
     RtsFlags.DebugFlags.weak           = rtsFalse;
     RtsFlags.DebugFlags.gccafs         = rtsFalse;
     RtsFlags.DebugFlags.gc             = rtsFalse;
     RtsFlags.DebugFlags.weak           = rtsFalse;
     RtsFlags.DebugFlags.gccafs         = rtsFalse;
     RtsFlags.DebugFlags.gc             = rtsFalse;
@@ -400,7 +399,6 @@ usage_text[] = {
 #if defined(DEBUG)
 "  -Ds  DEBUG: scheduler",
 "  -Di  DEBUG: interpreter",
 #if defined(DEBUG)
 "  -Ds  DEBUG: scheduler",
 "  -Di  DEBUG: interpreter",
-"  -Dc  DEBUG: codegen",
 "  -Dw  DEBUG: weak",
 "  -DG  DEBUG: gccafs",
 "  -Dg  DEBUG: gc",
 "  -Dw  DEBUG: weak",
 "  -DG  DEBUG: gccafs",
 "  -Dg  DEBUG: gc",
@@ -671,9 +669,6 @@ error = rtsTrue;
                      case 'i':
                          RtsFlags.DebugFlags.interpreter = rtsTrue;
                          break;
                      case 'i':
                          RtsFlags.DebugFlags.interpreter = rtsTrue;
                          break;
-                     case 'c':
-                         RtsFlags.DebugFlags.codegen = rtsTrue;
-                         break;
                      case 'w':
                          RtsFlags.DebugFlags.weak = rtsTrue;
                          break;
                      case 'w':
                          RtsFlags.DebugFlags.weak = rtsTrue;
                          break;