projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0472771
)
Nicer panic message
author
Ben.Lippmeier@anu.edu.au
<unknown>
Tue, 29 Dec 2009 10:35:18 +0000
(10:35 +0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Tue, 29 Dec 2009 10:35:18 +0000
(10:35 +0000)
compiler/nativeGen/X86/CodeGen.hs
patch
|
blob
|
history
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)
- 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`