Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e940d0ad
Commit
e940d0ad
authored
Dec 22, 2006
by
Ian Lynagh
Browse files
Handle LongArg's in the FFI on x86
parent
6dcff14b
Changes
2
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/ByteCodeFFI.lhs
View file @
e940d0ad
...
...
@@ -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)
...
...
compiler/ghci/ByteCodeGen.lhs
View file @
e940d0ad
...
...
@@ -954,6 +954,7 @@ mkDummyLiteral pr
NonPtrArg -> MachWord 0
DoubleArg -> MachDouble 0
FloatArg -> MachFloat 0
LongArg -> MachWord64 0
_ -> moan64 "mkDummyLiteral" (ppr pr)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment