[Mono-bugs] [Bug 42135][Min] New - [mini] incorrect this!= null checks generated when inlining

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 30 Apr 2003 05:45:26 -0400 (EDT)


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=42135

--- shadow/42135	Wed Apr 30 05:45:26 2003
+++ shadow/42135.tmp.31317	Wed Apr 30 05:45:26 2003
@@ -0,0 +1,23 @@
+Bug#: 42135
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [mini] incorrect this!= null checks generated when inlining
+
+Currently, mini generates a this != null check when a method is inlined,
+even when the method is called non-virtually. The attached test case
+demonstrates this. When run with --optimize=inline, it throws an exception,
+otherwise it runs normally. There are programs (like IKVM) which depend on
+this behaviour.