[Mono-bugs] [Bug 81102][Wis] Changed - Mono incorrectly labels certain IL sequences as invalid

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 10 04:28:14 EST 2007


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 dmitchell at logos.com.

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

--- shadow/81102	2007-03-10 03:40:51.000000000 -0500
+++ shadow/81102.tmp.11835	2007-03-10 04:28:14.000000000 -0500
@@ -109,6 +109,16 @@
 As far as I can tell, this code is simply an optimization for generics that are instantiated with 
 value type arguments. Deleting the code seems to cause no ill effects, and the removal of this 
 code also happens to fix the problems described above.
 
 I plan to dig in to this optimization to determine if I can correct it, but in the meantime, it 
 would probably be wise to remove it.
+
+------- Additional Comments From dmitchell at logos.com  2007-03-10 04:28 -------
+The if block that starts at line 6453 seems to be the culprit.
+
+If the stack is not empty, then it is emptied. However, if items were already on the stack 
+because they were going to be used later, they get hosed.
+
+Removing line 6454 (sp = stack_start;) seems to fix my problem, but I have no idea if it will 
+break any other cases, given that there is nothing to document *why* the stack needs to be 
+cleared.


More information about the mono-bugs mailing list