From: simonmar Date: Wed, 12 Dec 2001 15:01:25 +0000 (+0000) Subject: [project @ 2001-12-12 15:01:25 by simonmar] X-Git-Tag: Approximately_9120_patches~399 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8098d689fe6a9fa26c305174f89035738adef795;p=ghc-hetmet.git [project @ 2001-12-12 15:01:25 by simonmar] Fix a couple of assertions. --- diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c index 73ca19d..38a9aaa 100644 --- a/ghc/rts/ProfHeap.c +++ b/ghc/rts/ProfHeap.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ProfHeap.c,v 1.33 2001/12/12 14:31:42 simonmar Exp $ + * $Id: ProfHeap.c,v 1.34 2001/12/12 15:01:25 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -617,8 +617,8 @@ aggregateCensusInfo( void ) drag_total += censuses[t].drag_total; censuses[t].void_total = void_total; censuses[t].drag_total = drag_total; - ASSERT( censuses[t].void_total < censuses[t].not_used ); - ASSERT( censuses[t].drag_total < censuses[t].used ); + ASSERT( censuses[t].void_total <= censuses[t].not_used ); + ASSERT( censuses[t].drag_total <= censuses[t].used ); } return;