[commit: ghc] master: Evac.c: remove unused CPP guard (583f561)

git at git.haskell.org git at git.haskell.org
Mon Feb 12 11:34:21 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/583f561c285d1742b7e73128fd3331a49b87ec75/ghc

>---------------------------------------------------------------

commit 583f561c285d1742b7e73128fd3331a49b87ec75
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Mon Feb 12 14:33:25 2018 +0300

    Evac.c: remove unused CPP guard
    
    `NO_PROMOTE_THUNKS` is never defined


>---------------------------------------------------------------

583f561c285d1742b7e73128fd3331a49b87ec75
 rts/sm/Evac.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c
index 738e3e4..bb54c7e 100644
--- a/rts/sm/Evac.c
+++ b/rts/sm/Evac.c
@@ -704,9 +704,6 @@ loop:
   case THUNK_1_1:
   case THUNK_2_0:
   case THUNK_0_2:
-#if defined(NO_PROMOTE_THUNKS)
-#error bitrotted
-#endif
     copy(p,info,q,sizeofW(StgThunk)+2,gen_no);
     return;
 



More information about the ghc-commits mailing list