Re: MLton broken FFI on AMD64???

"Wesley W. Terpstra" <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <[email protected]>
On Fri, Feb 4, 2011 at 4:01 PM, Matthew Fluet <[email protected]>wrote:

> > ... either we need to add another tag to imports like:
> > _import "printf" stdarg : ... ;
> > ... or we should just always set rax for every FFI call on AMD64?
>
> Did you mean a "varargs" attribute?  That is, I would expect "stdargs"
> (or "fixargs"?) to be the silent default.
>

The new varargs in C is called stdarg. A very poor name, I agree.


> It seems that setting rax for every FFI call on AMD64 would be the
> simplest solution.
>

I agree, if only because MLton64 FFI calls are already so slow. ;)

_______________________________________________
MLton mailing list
[email protected]
http://mlton.org/mailman/listinfo/mlton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.