
#7307: Share top-level code for strings -------------------------------------+------------------------------------ Reporter: simonpj | Owner: parcs Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by parcs): Hah, that's a lot of bugs for such a small patch. Your first point seems to contradict the documentation at https://ghc.haskell.org/trac/ghc/browser/ghc/includes/rts/storage/Closures.h..., which says that the usage of `StgThunkHeader` doesn't apply to `THUNK_STATIC`s. Could you clarify this? It seems to me that I could have just given the `TopUnpack` infotable the `THUNK_STATIC` type instead of creating a new closure type. Would you be inclined to agree? Thanks for reviewing. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7307#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler