procPointAnalysis doesn't need UniqSM
authorMichal Terepeta <michal.terepeta@gmail.com>
Wed, 14 Dec 2016 21:47:05 +0000 (16:47 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 15 Dec 2016 15:42:25 +0000 (10:42 -0500)
commit27287c802010ddf4f5d633de6b61b40a50a38c64
tree81cdda0ca1663be8233c29ca29a7b27b6f8eab57
parentbe5384cea2b89791a9334c4eaa313edcc4055042
procPointAnalysis doesn't need UniqSM

`procPointAnalysis` doesn't need to run in `UniqSM` (it consists of a
single `return` and the call to `analyzeCmm` function which is pure).
Making it non-monadic simplifies the code a bit.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: validate

Reviewers: austin, bgamari, simonmar

Reviewed By: simonmar

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2837
compiler/cmm/CmmPipeline.hs
compiler/cmm/CmmProcPoint.hs