[project @ 1999-02-17 17:47:09 by simonm]
authorsimonm <unknown>
Wed, 17 Feb 1999 17:47:09 +0000 (17:47 +0000)
committersimonm <unknown>
Wed, 17 Feb 1999 17:47:09 +0000 (17:47 +0000)
typo

ghc/rts/GC.c

index c70f408..86acf16 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: GC.c,v 1.36 1999/02/17 17:35:32 simonm Exp $
+ * $Id: GC.c,v 1.37 1999/02/17 17:47:09 simonm Exp $
  *
  * (c) The GHC Team 1998-1999
  *
@@ -399,7 +399,7 @@ void GarbageCollect(void (*get_roots)(void))
     loop2:
       for (gen = RtsFlags.GcFlags.generations-1; gen >= 0; gen--) {
        for (st = generations[gen].n_steps-1; st >= 0 ; st--) {
-         if (gen == 0 && step == 0) { 
+         if (gen == 0 && st == 0) { 
            continue; 
          }
          step = &generations[gen].steps[st];