Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f7cd14fd30d40ae7e904a533804f43d43dd8f439 >--------------------------------------------------------------- commit f7cd14fd30d40ae7e904a533804f43d43dd8f439 Author: Ian Lynagh <i...@well-typed.com> Date: Mon Oct 8 21:55:23 2012 +0100 Put the DynFlags in a global variable for tracing; fixes #7304 This is an ugly kludge to make a DynFlags value available for the 'trace' functions. It may not be the value we really ought to use, but it'll be good enough for the pretty-printer to use. Ideally we'd pass the real DynFlags down to all the trace calls, but this will do for now at least. compiler/main/DynFlags.hs | 30 +++++++----------------------- compiler/main/DynFlags.hs-boot | 2 -- compiler/main/GHC.hs | 2 +- compiler/main/StaticFlags.hs | 21 +++++++++++++++++++++ compiler/utils/Outputable.lhs | 8 ++++---- 5 files changed, 33 insertions(+), 30 deletions(-) Diff suppressed because of size. To see it, use: git show f7cd14fd30d40ae7e904a533804f43d43dd8f439 _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc