[MLton-devel] Fwd: C back end for MLton (fwd)

Stephen Weeks MLton@mlton.org
Tue, 5 Nov 2002 15:19:11 -0800


> What?  Any generated C code should use the Int_quot() instead of / since
> if the C compiler figures out that something is a constant (which it might
> do even though we don't) then it could cause the problem.  At least that
> was my thought in talking about it before.

Right.  That's what we do (except when compiling -DFAST_INT)

> Just because a function isn't marked as inline doesn't mean it won't be
> inlined.  Of course if it is in another file (not a .h) then you are safe.

Int_quot is in a file all by itself.

I still propose to replace all that asm with /.

I believe it is asm because at some point Int_quot was in ccodegen.h
and hence your worries applied.


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel