Commit 6c26b3f8 authored by Committed by Ben Gamari
Fixup the new code layout patch for SplitObjs.
When splitting objects we sometimes generate dummy CmmProcs containing bottom in some fields. Code introduced in the new code layout patch looked at these which blew up the compiler. Now we instead check first if the function actually contains code. Reviewers: bgamari Subscribers: simonpj, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5357
Showing with 7 additions and 3 deletions