Skip to content
Snippets Groups Projects
Commit e28748e7 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-06-14 14:16:45 by simonmar]

isNeverInlinePrag returned False for a NOINLINE pragma, which seems
wrong to me.  4.07 also has this bug, and it's why Memo is going wrong.
parent 620c2c3f
No related merge requests found
......@@ -331,11 +331,11 @@ data InlinePragInfo
-- exact significance of the IMustNotBeINLINEd pragma
isNeverInlinePrag :: InlinePragInfo -> Bool
isNeverInlinePrag (IMustNotBeINLINEd True Nothing) = True
isNeverInlinePrag other = False
isNeverInlinePrag (IMustNotBeINLINEd _ Nothing) = True
isNeverInlinePrag other = False
neverInlinePrag :: InlinePragInfo
neverInlinePrag = IMustNotBeINLINEd True Nothing
neverInlinePrag = IMustNotBeINLINEd True{-should be False? --SDM -} Nothing
instance Outputable InlinePragInfo where
-- This is now parsed in interface files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment