Nicer panic message

parent 0472771e
......@@ -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`
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment