[commit: ghc] master: Fix AsmTempLabel (d559612)

git at git.haskell.org git at git.haskell.org
Sat Sep 23 13:26:51 UTC 2017


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

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

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

commit d55961262be1b6bbacea0cd6864346f8822ee99b
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Fri Sep 22 16:17:30 2017 +0800

    Fix AsmTempLabel
    
    Summary:
    This is another fallout from 8b007abb
    should fix Trac #14264. I am not sure if this is
    complete. It does however allow me to build an iOS
    LLVM cross compiler.
    
    Reviewers: bgamari, trofi, austin, simonmar
    
    Reviewed By: trofi
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #14264
    
    Differential Revision: https://phabricator.haskell.org/D4014


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

d55961262be1b6bbacea0cd6864346f8822ee99b
 compiler/cmm/CLabel.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index 28146ec..54395b6 100644
--- a/compiler/cmm/CLabel.hs
+++ b/compiler/cmm/CLabel.hs
@@ -1092,7 +1092,6 @@ instance Outputable CLabel where
 pprCLabel :: Platform -> CLabel -> SDoc
 
 pprCLabel platform (AsmTempLabel u)
- | cGhcWithNativeCodeGen == "YES"
   =  getPprStyle $ \ sty ->
      if asmStyle sty then
         ptext (asmTempLabelPrefix platform) <> pprUniqueAlways u



More information about the ghc-commits mailing list