Fix #4346 (INLINABLE pragma not behaving consistently)
authorSimon Marlow <marlowsd@gmail.com>
Fri, 15 Oct 2010 09:48:36 +0000 (09:48 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 15 Oct 2010 09:48:36 +0000 (09:48 +0000)
commit4c9154facefe185dcbb99e2bb1cfe118f02f8bd3
tree56f6cc84405bbc146445b0a14e925d45a1505a11
parent26b6eac2c4d9409e625c1c4fd325a76076d5cd26
Fix #4346 (INLINABLE pragma not behaving consistently)
Debugged thanks to lots of help from Simon PJ: we weren't updating the
UnfoldingGuidance when the unfolding changed.
Also, a bit of refactoring and additinoal comments.
compiler/coreSyn/CoreSyn.lhs
compiler/coreSyn/CoreUnfold.lhs
compiler/iface/IfaceSyn.lhs
compiler/iface/TcIface.lhs
compiler/simplCore/Simplify.lhs