C FFI

Stephen Weeks MLton@research.nj.nec.com
Tue, 6 Jun 2000 14:14:51 -0700 (PDT)


> The big thing will be that some one will have to do the constant folding
> that currently is done by the C compiler.  Other than that it doesn't seem
> too bad.

Yeah, but I think this shouldn't be too difficult a pass on the Cps
IL.  In fact, it wouldn't be too bad a pass to have for other reasons, 
since it will make the intermediate programs smaller, and hence other
optimization passes faster.