[Mono-bugs] [Bug 423186] JIT generates invalid code for unverifiable code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 4 13:02:34 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=423186

User jpryor at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423186#c2


Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |jpryor at novell.com




--- Comment #2 from Jonathan Pryor <jpryor at novell.com>  2008-09-04 11:02:33 MDT ---
As I recall on IRC, you were getting this invalid code by doing:

    IntPtr p = (IntPtr) null;

The question is, why would you do that?  Why not just:

    IntPtr p = IntPtr.Zero;

which should be fully verifiable.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list