[Mono-dev] CIL to CIL optimizer

Miguel de Icaza miguel at ximian.com
Mon Aug 14 17:34:50 EDT 2006


> [1] Dead code elimination: some code is generated internally by the
>     JIT, so the CCO cannot even see it. This is particularly true with
>     inlining (unless you also do inlining in the CCO itself, which is
>     tricky because it is likely to break things like tracing, debugging
>     and AOP frameworks).

Inlining at the CIL to CIL translation is also limited in that it should
not inline things that would generate invalid code, for example,
accessing private fields from other classes.

The JIT is able to do this inlining though.


More information about the Mono-devel-list mailing list