
#10143: Separate PprFlags (used by Outputable) from DynFlags -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #10961 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
The `PprFlags` change might be easier if these functions took `PlatformConstants` as an argument (which would then become part of the `PprFlags` structure).
Surely if the functions take `PlatformConstants` as an argument, then the Cmm stuff becomes independent of choices of `DynFlags` and `PprFlags`? So why would this flag make `PlatformConstants` part of `PprFlags`? And more generally, is that a good place for `PlatformContants`? Doesn't sound like a place I'd look. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10143#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler