projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nicer panic message
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
X86
/
CodeGen.hs
diff --git
a/compiler/nativeGen/X86/CodeGen.hs
b/compiler/nativeGen/X86/CodeGen.hs
index
2e72d16
..
799dec3
100644
(file)
--- a/
compiler/nativeGen/X86/CodeGen.hs
+++ b/
compiler/nativeGen/X86/CodeGen.hs
@@
-1633,7
+1633,7
@@
genCCall target dest_regs args = do
w = typeWidth ty
r_dest_hi = getHiVRegFromLo r_dest
r_dest = getRegisterReg (CmmLocal dest)
w = typeWidth ty
r_dest_hi = getHiVRegFromLo r_dest
r_dest = getRegisterReg (CmmLocal dest)
- assign_code many = panic "genCCall.assign_code many"
+ assign_code many = pprPanic "genCCall.assign_code - too many return values:" (ppr many)
return (push_code `appOL`
call `appOL`
return (push_code `appOL`
call `appOL`