diff options
author | Simon Marlow <smarlow@fb.com> | 2016-01-07 06:23:14 -0800 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-01-08 14:05:43 +0000 |
commit | c33e7c2b1a62f340432c752fb37ca1374e3e982a (patch) | |
tree | eda4be10846866a98dea0c9ba556a843cf7323c6 /rts/ProfHeap.c | |
parent | 1abb7005067e22039807de34cd60bed55316e925 (diff) | |
download | haskell-c33e7c2b1a62f340432c752fb37ca1374e3e982a.tar.gz |
Fix +RTS -h when compiling without -prof
Summary:
Was broken by ce1f1607ed7f8fedd2f63c8610cafefd59baaf32. I've added a
test so that hopefully it won't break again.
Test Plan: validate & new test case
Reviewers: bgamari, austin, erikd
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1746
GHC Trac Issues: #11304
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 43bd7b4225..e7f6417014 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -311,15 +311,11 @@ nextEra( void ) FILE *hp_file; static char *hp_filename; -void initProfiling (void) -{ -} - void freeProfiling (void) { } -void initProfiling2 (void) +void initProfiling (void) { char *prog; |