[Mono-list] One Bug, Many questions
Dietmar Maurer
dietmar@ximian.com
28 Aug 2002 09:11:24 +0200
Ok, its a jit bug (or unsupported feature). The problem is that the
current jit does not handle the case when there are value types on the
runtime stack at basic block boundaries, for example
ldfld x (where x is a struct)
br target (please notice that the stack is not empty, it contains x)
maybe you can avoid such constructs in your code? I will also try to
find a real solution for the problem.
- Dietmar
On Wed, 2002-08-28 at 02:41, tom berger wrote:
> On Tue, 2002-08-27 at 13:10, Paolo Molaro wrote:
> > Sample code that would reproduce the problem is appreciated.
>
> OK, i put the current sources at http://magaf.org/luna/
>
> It is a little messy but i put some instructions, which, if followed
> allow you to compile the compiler on windows and linux, and get a
> top-level and compile scheme programs and anonymous functions on
> windows.
>
> The code producing the jit bug is in src/types/compiled.cs in the
> function ILGenerate.
>
> The problem occurs before making an instance of the type in the dynamic
> assembly, but rather still while emitting, so this is not the problem
> like we thought.
>
> I'll try to arrange a nicer distribution and maybe a CVS in the near
> future. Until then I'll update the tarball at magaf.org when there's a
> new development.
>
> Cheers,
>
> Tom
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list