[commit: ghc] master: CodeGen: fix typo in error message (3ec205a)

git at git.haskell.org git at git.haskell.org
Sat Sep 12 18:38:26 UTC 2015


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

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

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

commit 3ec205aec45ec13fc7274d6b019cd7f7654191f4
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Sat Sep 12 20:37:20 2015 +0200

    CodeGen: fix typo in error message


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

3ec205aec45ec13fc7274d6b019cd7f7654191f4
 compiler/nativeGen/X86/CodeGen.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs
index 1fe289c..26df11c 100644
--- a/compiler/nativeGen/X86/CodeGen.hs
+++ b/compiler/nativeGen/X86/CodeGen.hs
@@ -2082,7 +2082,7 @@ genCCall _ is32Bit target dest_regs args = do
                                 MOV format (OpReg rdx) (OpReg reg_h),
                                 MOV format (OpReg rax) (OpReg reg_l)]
                return code
-        _ -> panic "genCCall: Wrong number of arguments/results for add2"
+        _ -> panic "genCCall: Wrong number of arguments/results for mul2"
 
     _ -> if is32Bit
          then genCCall32' dflags target dest_regs args



More information about the ghc-commits mailing list