From: simonm Date: Fri, 15 Jan 1999 17:36:31 +0000 (+0000) Subject: [project @ 1999-01-15 17:36:31 by simonm] X-Git-Tag: Approx_2487_patches~83 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fc3a5e13e8980632ca5b9ae589fab11818b4d425;p=ghc-hetmet.git [project @ 1999-01-15 17:36:31 by simonm] - __HASKELL1__ is now 5 (was 4). Surely not the last word in Haskell98 CPP symbols. - Fix stats munging for new RTS. --- diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index ea51be1..5d4bca7 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -370,7 +370,7 @@ require special handling. # We need to look in ghc/ and glaExts/ when searching for implicitly needed .hi files, but # we should really *not* look there for explicitly imported modules. -$Haskell1Version = 4; # i.e., Haskell 1.4 +$Haskell1Version = 5; # i.e., Haskell 1.4 @Cpp_define = (); # Cpp symbols defined when we're processing Haskell source. @@ -2288,7 +2288,7 @@ sub process_ghc_timings { local($tot_samples) = 0; while () { - if (! /Gen:\s+0/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+/ ) { + if (! /Gen:\s+0/ && ! /Minor/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+/ ) { $max_live = $1 if $max_live < $1; $tot_live += $1; $tot_samples += 1;