Fix interpreter with profiling
authorSimon Marlow <marlowsd@gmail.com>
Mon, 5 Mar 2018 20:12:57 +0000 (15:12 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 6 Mar 2018 18:03:06 +0000 (13:03 -0500)
commit488d63d6899d223ef87c26c218f0cf81ac670a90
tree166a686fe8e90a4110174e437d8d4c966d723188
parent1488591ac595d1b7be39345cc390737ea9a65fe3
Fix interpreter with profiling

This was broken by D3746 and/or D3809, but unfortunately we didn't
notice because CI at the time wasn't building the profiling way.

Test Plan:
```
cd testsuite/test/profiling/should_run
make WAY=ghci-ext-prof
```

Reviewers: bgamari, michalt, hvr, erikd

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14705

Differential Revision: https://phabricator.haskell.org/D4437
compiler/codeGen/StgCmmBind.hs
compiler/codeGen/StgCmmCon.hs
compiler/codeGen/StgCmmLayout.hs
compiler/ghci/ByteCodeGen.hs
testsuite/tests/codeGen/should_run/T13825-unit.hs
testsuite/tests/profiling/should_run/all.T