X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghci%2FLibFFI.hsc;h=86714effa42f3b4bfc4331719ce2b33190404407;hp=9dd2a24021c4a2295546894f82eb0041f85535ba;hb=16b9e80dc14db24509f051f294b5b51943285090;hpb=d436c70d43fb905c63220040168295e473f4b90a diff --git a/compiler/ghci/LibFFI.hsc b/compiler/ghci/LibFFI.hsc index 9dd2a24..86714ef 100644 --- a/compiler/ghci/LibFFI.hsc +++ b/compiler/ghci/LibFFI.hsc @@ -53,7 +53,8 @@ convToABI CCallConv = fFI_DEFAULT_ABI #ifdef mingw32_HOST_OS convToABI StdCallConv = fFI_STDCALL #endif -convToABI _ = panic "convToABI: convention not supported" +-- unknown conventions are mapped to the default, (#3336) +convToABI _ = fFI_DEFAULT_ABI -- c.f. DsForeign.primTyDescChar primRepToFFIType :: PrimRep -> Ptr C_ffi_type