[Mono-bugs] [Bug 38017][Nor] Changed - assertion in JIT

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 22 Feb 2003 14:26:08 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz@freemail.hu.

http://bugzilla.ximian.com/show_bug.cgi?id=38017

--- shadow/38017	Sat Feb 22 14:19:17 2003
+++ shadow/38017.tmp.22775	Sat Feb 22 14:26:08 2003
@@ -46,6 +46,30 @@
 
 nother bug report from Zoltan This means that I have to fix a bug in
 MCS, but we should also get another test case for the IKVM case (I
 assume this is IKVM related, right?)
 
 Miguel.
+
+------- Additional Comments From vargaz@freemail.hu  2003-02-22 14:26 -------
+
+Hi,
+
+Here is a modified version which compiles&runs under MS.NET. This is
+a simplified version of code found in IKVM. This prevents the current
+JIT from running IKVM.
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Reflection.Emit;
+
+class Bug {
+
+   static void foo (OpCode i, object o) {
+   }
+
+   static public void Main() {
+     foo (OpCodes.Calli, (null == typeof(void)) ? (object)null :
+(object)null);
+   }
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<