Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
0c4769e6
Commit
0c4769e6
authored
Feb 18, 2000
by
simonmar
Browse files
[project @ 2000-02-18 10:25:53 by simonmar]
Module size wasn't taking into account the data section.
parent
462bf5ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
glafp-utils/nofib-analyse/Slurp.hs
View file @
0c4769e6
-----------------------------------------------------------------------------
-- $Id: Slurp.hs,v 1.
1 1999/11
/1
2
1
1:54:17
simonmar Exp $
-- $Id: Slurp.hs,v 1.
2 2000/02
/1
8
1
0:25:53
simonmar Exp $
-- (c) Simon Marlow 1997-1999
-----------------------------------------------------------------------------
...
...
@@ -348,7 +348,7 @@ parse_size prog mod (l:ls) =
Just
(
read
text
+
read
datas
),
compile_status
=
Success
})]
|
otherwise
->
let
ms
=
addToFM
emptyFM
mod
(
read
text
)
let
ms
=
addToFM
emptyFM
mod
(
read
text
+
read
datas
)
in
[(
prog
,
emptyResults
{
module_size
=
ms
})]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment