X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FsimplCore%2FOccurAnal.lhs;fp=compiler%2FsimplCore%2FOccurAnal.lhs;h=a3e37325c7a82077b6469dd46eb6f5e28bce4c32;hp=91e34f879e48e75a2025fc78ebed6187555a536a;hb=a263737bbf44050a7b5ecbe267ddf85d410b73e5;hpb=545cdeb52fc4feea3fa9668706e05ad75041f8b0 diff --git a/compiler/simplCore/OccurAnal.lhs b/compiler/simplCore/OccurAnal.lhs index 91e34f8..a3e3732 100644 --- a/compiler/simplCore/OccurAnal.lhs +++ b/compiler/simplCore/OccurAnal.lhs @@ -533,7 +533,7 @@ reOrderCycle depth (bind : binds) pairs -- where df is the exported dictionary. Then df makes a really -- bad choice for loop breaker - | Just inl_rule_info <- isInlineRule_maybe (idUnfolding bndr) + | Just (inl_rule_info, _) <- isInlineRule_maybe (idUnfolding bndr) = case inl_rule_info of InlWrapper {} -> 10 -- Note [INLINE pragmas] _other -> 3 -- Data structures are more important than this