[commit: ghc] master: Fix validate failure. (ca77f5c)

git at git.haskell.org git at git.haskell.org
Tue Jan 7 14:30:38 UTC 2014


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

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

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

commit ca77f5c7587b30215cd68f1204bf217e59214a82
Author: Austin Seipp <austin at well-typed.com>
Date:   Tue Jan 7 07:18:51 2014 -0600

    Fix validate failure.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

ca77f5c7587b30215cd68f1204bf217e59214a82
 compiler/llvmGen/LlvmMangler.hs |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler/llvmGen/LlvmMangler.hs b/compiler/llvmGen/LlvmMangler.hs
index 7cae59c..a905417 100644
--- a/compiler/llvmGen/LlvmMangler.hs
+++ b/compiler/llvmGen/LlvmMangler.hs
@@ -119,14 +119,14 @@ rewriteVmovap = rewriteInstructions vmovap vmovup
     vmovap, vmovup :: B.ByteString
     vmovap = B.pack "vmovap"
     vmovup = B.pack "vmovup"
-#else /* !REWRITE_AVX */
-rewriteAVX :: Section -> Section
-rewriteAVX = id
-#endif /* !REWRITE_SSE */
 
 rewriteInstructions :: B.ByteString -> B.ByteString -> Section -> Section
 rewriteInstructions matchBS replaceBS (hdr, cts) =
     (hdr, replace matchBS replaceBS cts)
+#else /* !REWRITE_AVX */
+rewriteAVX :: Section -> Section
+rewriteAVX = id
+#endif /* !REWRITE_SSE */
 
 replace :: B.ByteString -> B.ByteString -> B.ByteString -> B.ByteString
 replace matchBS replaceBS = loop



More information about the ghc-commits mailing list