Commit e940d0ad authored by Ian Lynagh's avatar Ian Lynagh

Handle LongArg's in the FFI on x86

parent 6dcff14b
......@@ -263,7 +263,7 @@ mkMarshalCode_wrk cconv (r_offW, r_rep) addr_offW arg_offs_n_reps
NonPtrArg -> i32
DoubleArg -> f64
FloatArg -> f32
-- LongArg -> i64
LongArg -> i64
VoidArg -> []
other -> moan64 "ByteCodeFFI.mkMarshalCode_wrk(x86)"
(ppr r_rep)
......
......@@ -954,6 +954,7 @@ mkDummyLiteral pr
NonPtrArg -> MachWord 0
DoubleArg -> MachDouble 0
FloatArg -> MachFloat 0
LongArg -> MachWord64 0
_ -> moan64 "mkDummyLiteral" (ppr pr)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment