X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FByteCodeGen.lhs;h=5d1bd27ca8a9054ca3be670d3d63d7e05ae85407;hb=c08d8ef08b00934a302b7ab10f5d62c8f06720f9;hp=99e896c024fca4bfa7917578ae20826a1860a4da;hpb=82be37a44c572d2e6df6b7da09ea4e059c3f3133;p=ghc-hetmet.git diff --git a/compiler/ghci/ByteCodeGen.lhs b/compiler/ghci/ByteCodeGen.lhs index 99e896c..5d1bd27 100644 --- a/compiler/ghci/ByteCodeGen.lhs +++ b/compiler/ghci/ByteCodeGen.lhs @@ -1029,20 +1029,7 @@ generateCCall d0 s p (CCallSpec target cconv _) fn args_r_to_l DynamicTarget -> return (False, panic "ByteCodeGen.generateCCall(dyn)") - PackageTarget target _ - -> do res <- ioToBc (lookupStaticPtr stdcall_adj_target) - return (True, res) - where - stdcall_adj_target -#ifdef mingw32_TARGET_OS - | StdCallConv <- cconv - = let size = fromIntegral a_reps_sizeW * wORD_SIZE in - mkFastString (unpackFS target ++ '@':show size) -#endif - | otherwise - = target - - StaticTarget target + StaticTarget target _ -> do res <- ioToBc (lookupStaticPtr stdcall_adj_target) return (True, res) where