Avoid calling newDynFlags when there are no changes
authorSimon Marlow <marlowsd@gmail.com>
Tue, 15 Nov 2016 17:19:04 +0000 (17:19 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 16 Nov 2016 14:31:01 +0000 (14:31 +0000)
commit7acee066c210cd469836da32375988e5ee2b32ff
tree079270809e3f2c9ef1e3548344f6487ebacc6d33
parentfa70b1ec2e4638886e610279857c1c7529d6a361
Avoid calling newDynFlags when there are no changes

This is a small optimisation for :set and :unset
ghc/GHCi/UI.hs