[Mono-dev] gmcs and The Future

Mark Probst mark.probst at gmail.com
Wed Feb 4 10:48:32 EST 2009


On Wed, Feb 4, 2009 at 3:35 PM,  <russell.kay at realtimeworlds.com> wrote:
> Could we please get a __forceinline for the compiler allowing us to make
> decisions at compile time to help us with optimisation.
>
> I know that the long term and "correct" answer is to put this sort of
> thing in the Jit but in the short term can we please be treated like
> grownups and get some way of telling the compiler that this property or
> method really really should be inlined.

I'm not sure how you expect this to work.  Inlining is the
responsibility of the JIT and there is no way for GMCS to force the
JIT to inline something without a change in the JIT.

Mark

-- 
Mark Probst
  http://www.complang.tuwien.ac.at/schani/
  http://www.flickr.com/photos/schani/
  http://schani.wordpress.com/


More information about the Mono-devel-list mailing list