Allow +RTS -H0 as a way to override a previous -H<size>
authorsimonmar@microsoft.com <unknown>
Thu, 31 Jan 2008 15:36:45 +0000 (15:36 +0000)
committersimonmar@microsoft.com <unknown>
Thu, 31 Jan 2008 15:36:45 +0000 (15:36 +0000)
rts/RtsFlags.c

index 439dfd7..535d0fd 100644 (file)
@@ -870,10 +870,6 @@ error = rtsTrue;
              case 'H':
                RtsFlags.GcFlags.heapSizeSuggestion = 
                  decode(rts_argv[arg]+2) / BLOCK_SIZE;
-
-               if (RtsFlags.GcFlags.heapSizeSuggestion <= 0) {
-                 bad_option(rts_argv[arg]);
-               }
                break;
 
 #ifdef RTS_GTK_FRONTPANEL