[Mono-bugs] [Bug 477019] New: Devirtualize box/callvirt calls

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 18 11:12:59 EST 2009


           Summary: Devirtualize box/callvirt calls
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Mono JIT does not seem to de-virtualize virtual calls which are made on boxed
value-types or sealed classes.

usual pattern is

box T
callvirt method

See mcs/tests/test-705.cs for example.

      IL_002b:  ldloc.2 
      IL_002c:  box Test/Nested
      IL_0031:  callvirt instance void class

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