[project @ 2001-03-23 10:46:27 by simonpj]
----------------------------------- Correct size calculations for INLINE notes ----------------------------------- Amazingly, CoreUnfold.size_up wasn't treating an InlineMe note as small. (InlineMe was only dealt with at top level.) As the comment now says: -- This can be important. If you have an instance decl like this: -- instance Foo a => Foo [a] where -- {-# INLINE op1, op2 #-} -- op1 = ... -- op2 = ... -- then we'll get a dfun which is a pair of two INLINE lambdas This fixes a problem Manuel encountered.
Please register or sign in to comment