[GHC] #14755: Allow putting SCC annotations on class instance methods
GHC
ghc-devs at haskell.org
Sun Feb 4 12:00:24 UTC 2018
#14755: Allow putting SCC annotations on class instance methods
-------------------------------------+-------------------------------------
Reporter: niteria | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Profiling | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
Do you not get the same effect with `-fprof-auto-top` if you do `foo a =
{-# SCC foo #-} show a`?
I'm also a bit surprised that `-fprof-auto-top` adds a SCC to this `foo`.
Apparently typeclass methods are considered as top level.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14755#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list