summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling/should_compile/prof-late-cc3.stderr
blob: 92d9b1cd8f9551c1d087f2ba97d3f56173b0f5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

==================== Tidy Core ====================
Result size of Tidy Core
  = {terms: 12, types: 16, coercions: 0, joins: 0/0}

-- RHS size: {terms: 11, types: 10, coercions: 0, joins: 0/0}
doStuff [InlPrag=INLINE (sat-args=1)]
  :: forall {b}. Show b => b -> IO b
[GblId, Arity=2, Unf=OtherCon []]
doStuff
  = \ (@b_axP) ($dShow_aET :: Show b_axP) (eta_B0 :: b_axP) ->
      >>
        @IO
        GHC.Base.$fMonadIO
        @()
        @b_axP
        (print @b_axP $dShow_aET eta_B0)
        (return @IO GHC.Base.$fMonadIO @b_axP eta_B0)




==================== CorePrep ====================
Result size of CorePrep
  = {terms: 16, types: 20, coercions: 0, joins: 0/2}

-- RHS size: {terms: 15, types: 14, coercions: 0, joins: 0/2}
M.doStuff [InlPrag=INLINE (sat-args=1)]
  :: forall {b}. GHC.Show.Show b => b -> GHC.Types.IO b
[GblId, Arity=2, Unf=OtherCon []]
M.doStuff
  = \ (@b_axP)
      ($dShow_sJs [Occ=OnceL1] :: GHC.Show.Show b_axP)
      (eta_sJt :: b_axP) ->
      scctick<doStuff>
      let {
        sat_sJv [Occ=Once1] :: GHC.Types.IO b_axP
        [LclId]
        sat_sJv
          = GHC.Base.return
              @GHC.Types.IO GHC.Base.$fMonadIO @b_axP eta_sJt } in
      let {
        sat_sJu [Occ=Once1] :: GHC.Types.IO ()
        [LclId]
        sat_sJu = System.IO.print @b_axP $dShow_sJs eta_sJt } in
      GHC.Base.>>
        @GHC.Types.IO GHC.Base.$fMonadIO @() @b_axP sat_sJu sat_sJv