diff options
author | David M Peixotto <dmp@rice.edu> | 2011-05-10 12:40:23 -0500 |
---|---|---|
committer | David M Peixotto <dmp@rice.edu> | 2011-05-10 12:40:23 -0500 |
commit | 8ae1fd33175b70e46c233d22195e7fc8e16997bf (patch) | |
tree | 00e98f5d9537095f39f75cc9fcf494137ab07ed7 /compiler/cmm/CmmSpillReload.hs | |
parent | 2d5205118357cac8a2dd43b33bcd93a3c00f5558 (diff) | |
download | haskell-8ae1fd33175b70e46c233d22195e7fc8e16997bf.tar.gz |
Fix bug in one-line stats printing
The code that prints the "one-line" stats (i.e. the RTS -t flag) was
incorreclty printing zeros for some time values. These time values
were computed inside a conditional that was only true when printing
detailed stats (i.e. the RTS -s or -S flags).
This commit simply moves the computation out of the conditional so
they are available for the one-line stats output.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions