[commit: ghc] master: Remove ios_HOST check for GCTDecl.h (b4eb630)

git at git.haskell.org git at git.haskell.org
Fri Feb 7 04:59:28 UTC 2014


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

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

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

commit b4eb630c7480bc56c673a463f274aec18e237e8c
Author: Austin Seipp <austin at well-typed.com>
Date:   Thu Feb 6 22:58:30 2014 -0600

    Remove ios_HOST check for GCTDecl.h
    
    Following 298a25bdf and #8722 as Peter mentioned, this probably isn't
    needed anymore.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

b4eb630c7480bc56c673a463f274aec18e237e8c
 rts/sm/GCTDecl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h
index 2489430..5602cb8 100644
--- a/rts/sm/GCTDecl.h
+++ b/rts/sm/GCTDecl.h
@@ -57,7 +57,7 @@ extern StgWord8 the_gc_thread[];
 
    Also, the iOS Clang compiler doesn't support __thread either for
    some bizarre reason, so there's not much we can do about that... */
-#if (defined(llvm_CC_FLAVOR) && (CC_SUPPORTS_TLS == 0)) || defined(ios_HOST_OS)
+#if defined(llvm_CC_FLAVOR) && (CC_SUPPORTS_TLS == 0)
 #define gct ((gc_thread *)(pthread_getspecific(gctKey)))
 #define SET_GCT(to) (pthread_setspecific(gctKey, to))
 #define DECLARE_GCT ThreadLocalKey gctKey;



More information about the ghc-commits mailing list