Fix SetLevels for makeStaticPtr
authorSimon Peyton Jones <simonpj@microsoft.com>
Sun, 26 Feb 2017 18:51:57 +0000 (13:51 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sun, 26 Feb 2017 19:56:21 +0000 (14:56 -0500)
commit9bc4311f975fc454c10be814ab3cc0ed27ce215a
tree39fd612099312652d35192fce240f45abb657f46
parentff9ff4a8963179214f16c5b7f101d205a96024b1
Fix SetLevels for makeStaticPtr

This too is prepartory for my early-inlining patch.  It turned
out that early inlining exposed a bug in the way that static
pointers were being floated.

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3205
compiler/simplCore/SetLevels.hs