diff options
Diffstat (limited to 'compiler/ghci/ByteCodeGen.hs')
| -rw-r--r-- | compiler/ghci/ByteCodeGen.hs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs index ae453c0ccd..347b3987f2 100644 --- a/compiler/ghci/ByteCodeGen.hs +++ b/compiler/ghci/ByteCodeGen.hs @@ -1017,9 +1017,9 @@ generateCCall d0 s p (CCallSpec target cconv safety) fn args_r_to_l                   DynamicTarget                      -> return (False, panic "ByteCodeGen.generateCCall(dyn)") -                 StaticTarget _ _ False -> +                 StaticTarget _ _ _ False ->                       panic "generateCCall: unexpected FFI value import" -                 StaticTarget target _ True +                 StaticTarget _ target _ True                      -> do res <- ioToBc (lookupStaticPtr stdcall_adj_target)                            return (True, res)                     where | 
