[Git][ghc/ghc][wip/T23576] More detailed panic in iselExpr64

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Fri Jun 30 12:06:47 UTC 2023



Jaro Reinders pushed to branch wip/T23576 at Glasgow Haskell Compiler / GHC


Commits:
e0df4eb9 by Jaro Reinders at 2023-06-30T14:06:42+02:00
More detailed panic in iselExpr64

- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/X86/CodeGen.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/X86/CodeGen.hs
=====================================
@@ -613,7 +613,7 @@ iselExpr64 (CmmMachOp (MO_SS_Conv W32 W64) [expr]) = do
 iselExpr64 expr
    = do
       platform <- getPlatform
-      pprPanic "iselExpr64(i386)" (pdoc platform expr)
+      pprPanic "iselExpr64(i386)" (pdoc platform expr <+> text (show expr))
 
 
 --------------------------------------------------------------------------------



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e0df4eb943dd13807009cbc5bed5436cf27f1d5e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e0df4eb943dd13807009cbc5bed5436cf27f1d5e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230630/32a9cc7c/attachment-0001.html>


More information about the ghc-commits mailing list