[Mono-list] Re: bug report for new JIT

dietmar dietmar@ximian.com
09 Apr 2003 17:29:07 +0200

On Wed, 2003-04-09 at 15:50, Paolo Molaro wrote:
> For AOT, you'll have to save in the shared library the tokens of the
> ldstr-referenced strings together with each method and when the method
> is loaded, you just call mono_ldstr() on the string tokens associated
> with the method.

OK, implemented.

> > > But this would not solve the issue, since one can always write the
> > > (correct) IL code mcs currently produces and the bug resurfaces.
> > 
> > Well, "correct" is the wrong word - this is just how you define
> correct
> > behaviour. I think using the C# compiler to handle the issue is much
> It's not me that defined the behaviour of the CLR, though:-)

I thought it is not defined - you only got a hint from MS people, but it
is not part of the CLR specification?

- Dietmar