Bug 312255 (MONO42135) - [mini] incorrect this!= null checks generated when inlining
Summary: [mini] incorrect this!= null checks generated when inlining
Status: RESOLVED FIXED
Alias: MONO42135
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Debian Woody
: P3 - Medium : Minor
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-30 12:45 UTC by Zoltan Varga
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
testcase (530 bytes, patch)
2003-04-30 12:46 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:09:22 UTC


---- Reported by vargaz@freemail.hu 2003-04-30 05:45:26 MST ----

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.



---- Additional Comments From vargaz@freemail.hu 2003-04-30 05:46:15 MST ----

Created an attachment (id=164644)
testcase




---- Additional Comments From lupus@ximian.com 2003-04-30 06:51:00 MST ----

Fixed in cvs.
Thanks for the report.

Imported an attachment (id=164644)